diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2020-01-07 13:47:20 +0000 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2020-01-17 01:12:17 +0000 |
commit | 2b1641492fbf81e2c5a95f3e580811ca8700adc5 (patch) | |
tree | 270d29293a5c8fa2bb7c81461102ea5725e3815b /src/wallet/test | |
parent | ac61ec9da6793f00b29ba11f784b9b1c3ae662e9 (diff) |
wallet: Improve CWallet:MarkDestinationsDirty
Diffstat (limited to 'src/wallet/test')
-rw-r--r-- | src/wallet/test/coinselector_tests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/test/coinselector_tests.cpp b/src/wallet/test/coinselector_tests.cpp index 7e9f88f6b7..0e0f06c64c 100644 --- a/src/wallet/test/coinselector_tests.cpp +++ b/src/wallet/test/coinselector_tests.cpp @@ -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); |