This commit is contained in:
blackjok3r
2018-11-11 15:42:26 +08:00
parent 025924e9ff
commit 4d6499bd8d

View File

@@ -1059,7 +1059,7 @@ UniValue cleanwalletnotarisations(const UniValue& params, bool fHelp)
{ {
const CWalletTx& wtx = (*it).second; const CWalletTx& wtx = (*it).second;
fprintf(stderr, "[%s] depth : %d\n", wtx.GetHash().ToString().c_str(),wtx.GetDepthInMainChain()); fprintf(stderr, "[%s] depth : %d\n", wtx.GetHash().ToString().c_str(),wtx.GetDepthInMainChain());
if (!CheckFinalTx(wtx) || wtx.GetBlocksToMaturity() > 0 || wtx.GetDepthInMainChain() > 360 ) if (!CheckFinalTx(wtx) || wtx.GetBlocksToMaturity() > 0 || wtx.GetDepthInMainChain() < 360 )
continue; continue;
CCoins coins; CCoins coins;