mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Merge #9311: Flush wallet after abandontransaction
0632939 Flush wallet after abandontransaction (Alex Morcos)
This commit is contained in:
commit
a336d13a58
@ -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…
x
Reference in New Issue
Block a user