Merge pull request #113 from blackjok3rtt/jl777

fix erase expired tx on wallet load
This commit is contained in:
blackjok3rtt
2019-05-19 00:22:25 +08:00
committed by GitHub

View File

@@ -2883,12 +2883,9 @@ void CWallet::ReacceptWalletTransactions()
} }
} }
} }
if ( IsInitialBlockDownload() == 0 ) for (auto hash : vwtxh)
{ {
for (auto hash : vwtxh) EraseFromWallet(hash);
{
EraseFromWallet(hash);
}
} }
} }