Commit e941ee73 authored by smartcontracts's avatar smartcontracts Committed by GitHub

fix(dtl): bug with shutoff logic (#4240)

Fixes a bug with the DTL's shutoff block logic.
parent 21ee72b3
---
'@eth-optimism/data-transport-layer': patch
---
Fixes a bug with the DTL shutoff block logic
......@@ -228,7 +228,7 @@ export class L1IngestionService extends BaseService<L1IngestionServiceOptions> {
)
// Don't sync beyond the shutoff block!
if (this.options.l1SyncShutoffBlock !== undefined) {
if (Number.isInteger(this.options.l1SyncShutoffBlock)) {
targetL1Block = Math.min(
targetL1Block,
this.options.l1SyncShutoffBlock
......
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