>
This commit is contained in:
@@ -1074,7 +1074,7 @@ UniValue cleanwallettransactions(const UniValue& params, bool fHelp)
|
||||
for (map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end(); ++it)
|
||||
{
|
||||
const CWalletTx& wtx = (*it).second;
|
||||
if (wtx.GetDepthInMainChain() < oldestTxDepth)
|
||||
if (wtx.GetDepthInMainChain() > oldestTxDepth)
|
||||
{
|
||||
TxToRemove.push_back(wtx.GetHash());
|
||||
fprintf(stderr, "[%s] : depth.%i \n",wtx.GetHash().ToString().c_str(),wtx.GetDepthInMainChain());
|
||||
|
||||
Reference in New Issue
Block a user