We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8072efb + d98fc5f commit 8c93c6bCopy full SHA for 8c93c6b
src/qt/transactionrecord.cpp
@@ -37,7 +37,7 @@ QList<TransactionRecord> TransactionRecord::decomposeTransaction(const CWallet *
37
QList<TransactionRecord> parts;
38
int64_t nTime = wtx.GetTxTime();
39
CAmount nCredit = wtx.GetCredit(ISMINE_ALL);
40
- CAmount nDebit = wtx.GetDebit((wtx.IsCoinStake() && wtx.vout[1].scriptPubKey.IsColdStaking()) ? ISMINE_STAKABLE : ISMINE_ALL);
+ CAmount nDebit = wtx.GetDebit((wtx.IsCoinStake() && wtx.vout[1].scriptPubKey.IsColdStaking()) ? ISMINE_STAKABLE|ISMINE_SPENDABLE_STAKABLE : ISMINE_ALL);
41
CAmount nCFundCredit = wtx.GetDebit(ISMINE_ALL);
42
CAmount nNet = nCredit - nDebit;
43
uint256 hash = wtx.GetHash();
0 commit comments