diff options
author | Alex Morcos <morcos@chaincode.com> | 2016-12-09 13:36:42 -0500 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2016-12-09 13:36:42 -0500 |
commit | 06329393c7d5e119f56b56f5a056ac8dcbb42e67 (patch) | |
tree | 5f013f000ec8e71d6e24bb286ba9cbbb758bd31a /src/wallet/wallet.cpp | |
parent | 72bf1b3d0962304850a3ef5fe375db4bff1d0a39 (diff) |
Flush wallet after abandontransaction
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r-- | src/wallet/wallet.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<uint256> todo; std::set<uint256> done; |