diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 046253ce0..4d834ccee 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2883,12 +2883,9 @@ void CWallet::ReacceptWalletTransactions() } } } - if ( IsInitialBlockDownload() == 0 ) + for (auto hash : vwtxh) { - for (auto hash : vwtxh) - { - EraseFromWallet(hash); - } + EraseFromWallet(hash); } }