Commit d712d342 authored by Brannon King's avatar Brannon King
Browse files

force claimtrie disk flush on exit

(not a problem before the cache size was increased)
parent d1293d8e
......@@ -970,7 +970,7 @@ bool CClaimTrie::WriteToDisk()
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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment