diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-12-19 09:43:05 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-12-19 09:43:54 +0100 |
commit | a336d13a587c46470fd6671d558198f299f04a8d (patch) | |
tree | 5f37212d88505d74f2dc87b6dd0b81aa2b060cce /src/wallet/wallet.cpp | |
parent | db45ad85164d84790ab3d30f393d44d8fed6edad (diff) | |
parent | 06329393c7d5e119f56b56f5a056ac8dcbb42e67 (diff) |
Merge #9311: Flush wallet after abandontransaction
0632939 Flush wallet after abandontransaction (Alex Morcos)
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 4c6916c04a..450da0067c 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; |