Mise à jour effectuée, merci de nous signaler tout dysfonctionnement ! | Upgrade done, please let us know about any dysfunction!

Unverified Commit d930c305 authored by Cédric Moreau's avatar Cédric Moreau Committed by GitHub
Browse files

Merge pull request #1202 from duniter/fix/sync_cautious

[fix] #1090 `--cautious` option was broken
parents 9fbe45d2 7eb2a1f1
......@@ -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.watcher.appliedPercent(Math.floor(block.number / to * 100));
return true
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