Browse Source

Flush wallet after abandontransaction

0.14
Alex Morcos 8 years ago
parent
commit
06329393c7
  1. 3
      src/wallet/wallet.cpp

3
src/wallet/wallet.cpp

@ -1009,8 +1009,7 @@ bool CWallet::AbandonTransaction(const uint256& hashTx) @@ -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;

Loading…
Cancel
Save