Browse Source

Merge #9311: Flush wallet after abandontransaction

0632939 Flush wallet after abandontransaction (Alex Morcos)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
a336d13a58
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 3
      src/wallet/wallet.cpp

3
src/wallet/wallet.cpp

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

Loading…
Cancel
Save