Skip to content
Snippets Groups Projects
Commit 78ff72f2 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix: #1434 `ruleNumber` error

parent 8e3ba1c6
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ export class LevelDBBlockchain extends LevelDBTable<DBBlock> implements Blockcha
block.fork = false
// We remove the eventual fork
const forkKey = LevelDBBlockchain.trimForkKey(block.number, block.hash)
if (this.forks.getOrNull(forkKey)) {
if (await this.forks.getOrNull(forkKey)) {
await this.forks.del(forkKey)
}
// We return the saved block
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment