Skip to content

Commit 0632939

Browse files
committed
Flush wallet after abandontransaction
1 parent 72bf1b3 commit 0632939

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,8 +1009,7 @@ bool CWallet::AbandonTransaction(const uint256& hashTx)
10091009
{
10101010
LOCK2(cs_main, cs_wallet);
10111011

1012-
// Do not flush the wallet here for performance reasons
1013-
CWalletDB walletdb(strWalletFile, "r+", false);
1012+
CWalletDB walletdb(strWalletFile, "r+");
10141013

10151014
std::set<uint256> todo;
10161015
std::set<uint256> done;

0 commit comments

Comments
 (0)