mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
fix(stages): set block_range in with_block_range (#22800)
This commit is contained in:
@@ -406,7 +406,9 @@ impl StageCheckpoint {
|
||||
}
|
||||
_ => return self,
|
||||
});
|
||||
_ = self.stage_checkpoint.map(|mut checkpoint| checkpoint.set_block_range(from, to));
|
||||
if let Some(ref mut checkpoint) = self.stage_checkpoint {
|
||||
checkpoint.set_block_range(from, to);
|
||||
}
|
||||
self
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user