Skip to content

Commit

Permalink
Flush wallet after abandontransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
morcos committed Dec 9, 2016
1 parent 72bf1b3 commit 0632939
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0632939

Please sign in to comment.