This commit is contained in:
blackjok3r
2018-11-18 21:27:12 +08:00
parent 769d800441
commit 702f709517

View File

@@ -1068,7 +1068,7 @@ UniValue cleanwallettransactions(const UniValue& params, bool fHelp)
oldestTxDepth = out.nDepth;
}
oldestTxDepth = oldestTxDepth + 1;
fprintf(stderr, "oldestTxHeight.%i\n",oldestTxHeight);
fprintf(stderr, "oldestTxDepth.%i\n",oldestTxDepth);
// then add all txs in the wallet before this block to the list to remove.
for (map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end(); ++it)