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

[fix] #1090 `--cautious` option was broken

parent 9fbe45d2
Branches
Tags
1 merge request!1202[fix] #1090 `--cautious` option was broken
......@@ -258,7 +258,8 @@ export class Synchroniser extends stream.Duplex {
return block;
}
async applyMainBranch(block: BlockDTO): Promise<boolean> {
const addedBlock = await this.BlockchainService.submitBlock(block)
const addedBlock = await this.BlockchainService.submitBlock(block, true)
await this.BlockchainService.blockResolution()
this.server.streamPush(addedBlock);
this.watcher.appliedPercent(Math.floor(block.number / to * 100));
return true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment