ReacceptWalletTransactions don't remove from wallet if initial block download

This commit is contained in:
jl777
2019-02-08 01:20:00 -11:00
parent e5198d57b2
commit 35daec70b1
2 changed files with 6 additions and 2 deletions

View File

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