Skip to content

Commit 96b15e6

Browse files
celbalraiwagerr-builder
authored andcommitted
Wallet staking maturity - update coin availability
1 parent 48da1f0 commit 96b15e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/wallet.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2522,7 +2522,7 @@ CAmount CWalletTx::GetDebit(const isminefilter& filter) const
25222522
CAmount CWalletTx::GetCredit(const isminefilter& filter) const
25232523
{
25242524
// Must wait until coinbase is safely deep enough in the chain before valuing it
2525-
if (IsGenerated() && GetBlocksToMaturity() > 0)
2525+
if (IsCoinBase() && GetBlocksToMaturity() > 0)
25262526
return 0;
25272527

25282528
CAmount credit = 0;

0 commit comments

Comments
 (0)