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

fix: random `ruleNumber` error

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