Flush wallet after abandontransaction

This commit is contained in:
Alex Morcos 2016-12-09 13:36:42 -05:00
parent 72bf1b3d09
commit 06329393c7

View file

@ -1009,8 +1009,7 @@ bool CWallet::AbandonTransaction(const uint256& hashTx)
{
LOCK2(cs_main, cs_wallet);
// Do not flush the wallet here for performance reasons
CWalletDB walletdb(strWalletFile, "r+", false);
CWalletDB walletdb(strWalletFile, "r+");
std::set<uint256> todo;
std::set<uint256> done;