force claimtrie disk flush on exit
(not a problem before the cache size was increased)
This commit is contained in:
parent
d1293d8e70
commit
d712d342a9
1 changed files with 1 additions and 1 deletions
|
@ -970,7 +970,7 @@ bool CClaimTrie::WriteToDisk()
|
|||
dirtySupportExpirationQueueRows.clear();
|
||||
batch.Write(HASH_BLOCK, hashBlock);
|
||||
batch.Write(CURRENT_HEIGHT, nCurrentHeight);
|
||||
return db.WriteBatch(batch);
|
||||
return db.WriteBatch(batch, true);
|
||||
}
|
||||
|
||||
bool CClaimTrie::InsertFromDisk(const std::string& name, CClaimTrieNode* node)
|
||||
|
|
Loading…
Add table
Reference in a new issue