comment 'await this._cache.flush()'

pull/1122/head
yann300 4 years ago
parent 37cc11fab4
commit 1558c89bb3
  1. 2
      libs/remix-lib/src/execution/execution-context.ts

@ -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

Loading…
Cancel
Save