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.
1 parent 9d95c16 commit f12af33Copy full SHA for f12af33
src/wallet/wallet.cpp
@@ -2414,6 +2414,8 @@ bool CWallet::StakeableCoins(std::vector<CStakeableOutput>* pCoins)
2414
const bool fIncludeColdStaking = !sporkManager.IsSporkActive(SPORK_19_COLDSTAKING_MAINTENANCE) &&
2415
gArgs.GetBoolArg("-coldstaking", DEFAULT_COLDSTAKING);
2416
2417
+ if (pCoins) pCoins->clear();
2418
+
2419
LOCK2(cs_main, cs_wallet);
2420
for (const auto& it : mapWallet) {
2421
const uint256& wtxid = it.first;
0 commit comments