Flush wallet after abandontransaction
This commit is contained in:
parent
72bf1b3d09
commit
06329393c7
1 changed files with 1 additions and 2 deletions
|
@ -1009,8 +1009,7 @@ bool CWallet::AbandonTransaction(const uint256& hashTx)
|
||||||
{
|
{
|
||||||
LOCK2(cs_main, cs_wallet);
|
LOCK2(cs_main, cs_wallet);
|
||||||
|
|
||||||
// Do not flush the wallet here for performance reasons
|
CWalletDB walletdb(strWalletFile, "r+");
|
||||||
CWalletDB walletdb(strWalletFile, "r+", false);
|
|
||||||
|
|
||||||
std::set<uint256> todo;
|
std::set<uint256> todo;
|
||||||
std::set<uint256> done;
|
std::set<uint256> done;
|
||||||
|
|
Loading…
Reference in a new issue