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,14 +2883,11 @@ void CWallet::ReacceptWalletTransactions()
} }
} }
} }
if ( IsInitialBlockDownload() == 0 )
{
for (auto hash : vwtxh) for (auto hash : vwtxh)
{ {
EraseFromWallet(hash); EraseFromWallet(hash);
} }
} }
}
bool CWalletTx::RelayWalletTransaction() bool CWalletTx::RelayWalletTransaction()
{ {