Commit 1558c89b authored by yann300's avatar yann300

comment 'await this._cache.flush()'

parent 37cc11fa
......@@ -63,11 +63,13 @@ async getStateRoot (force: boolean = false): Promise<Buffer> {
// throw new Error('Cannot get state root with uncommitted checkpoints')
}
/*
try {
await this._cache.flush()
} catch (e) {
console.error(e)
}
*/
const stateRoot = this._trie.root
return stateRoot
......
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