Skip to content

Commit

Permalink
Fix missing = sign
Browse files Browse the repository at this point in the history
  • Loading branch information
acolytec3 committed Mar 24, 2022
1 parent 39bb21a commit d410b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/lib/sync/fetcher/fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ export abstract class Fetcher<JobTask, JobResult, StorageItem> extends Readable
stepBack = BigInt(this.config.safeReorgDistance)
}
this.debug(`Possible reorg, stepping back ${stepBack} blocks and requeuing jobs.`)
jobItems[0].task.first - stepBack
jobItems[0].task.first -= stepBack
jobItems[0].task.count += Number(stepBack)
// This will requeue the jobs as we are marking this failure as non-fatal.
this.failure(jobItems, error, false, true)
Expand Down

0 comments on commit d410b02

Please sign in to comment.