Skip to content

Commit 68fc7f6

Browse files
committed
chain/ethereum: Remove redundant if statement
1 parent a9b3cf0 commit 68fc7f6

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

chain/ethereum/src/polling_block_stream.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,10 +370,6 @@ impl PollingBlockStreamContext {
370370
return Ok(ReconciliationStep::Retry);
371371
}
372372

373-
if to > head_ptr.number - reorg_threshold {
374-
return Ok(ReconciliationStep::Retry);
375-
}
376-
377373
info!(
378374
ctx.logger,
379375
"Scanned blocks [{}, {}]", from, to;

0 commit comments

Comments
 (0)