wallet: Improve CWallet:MarkDestinationsDirty

This commit is contained in:
João Barbosa authored and Andrew Chow committed 2020-01-23 16:34:28 -05:00
1 parent 95ca6aeec7
commit f5be479694
3 files changed
+12 -2

No files matched your search

+1
View File
@@ -78,6 +78,7 @@ static void add_coin(CWallet& wallet, const CAmount& nValue, int nAge = 6*24, bo
if (fIsFromMe)
{
wtx->m_amounts[CWalletTx::DEBIT].Set(ISMINE_SPENDABLE, 1);
wtx->m_is_cache_empty = false;
}
COutput output(wtx.get(), nInput, nAge, true /* spendable */, true /* solvable */, true /* safe */);
vCoins.push_back(output);