mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Flush wallet after abandontransaction
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user