From 06329393c7d5e119f56b56f5a056ac8dcbb42e67 Mon Sep 17 00:00:00 2001 From: Alex Morcos Date: Fri, 9 Dec 2016 13:36:42 -0500 Subject: Flush wallet after abandontransaction --- src/wallet/wallet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 638fca9917..56e7b8e226 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -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 todo; std::set done; -- cgit v1.2.3