diff options
| author | Alex Morcos <[email protected]> | 2016-12-09 13:36:42 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2016-12-09 13:36:42 -0500 |
| commit | 06329393c7d5e119f56b56f5a056ac8dcbb42e67 (patch) | |
| tree | 5f013f000ec8e71d6e24bb286ba9cbbb758bd31a /src/wallet/wallet.cpp | |
| parent | Merge #9303: Update comments in ctaes (diff) | |
| download | discoin-06329393c7d5e119f56b56f5a056ac8dcbb42e67.tar.xz discoin-06329393c7d5e119f56b56f5a056ac8dcbb42e67.zip | |
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 638fca991..56e7b8e22 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; |