mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-06 14:19:59 -05:00
Merge #9311: Flush wallet after abandontransaction
0632939
Flush wallet after abandontransaction (Alex Morcos)
This commit is contained in:
commit
a336d13a58
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue