fix(stages): set block_range in with_block_range (#22800)

This commit is contained in:
Rej Ect
2026-03-10 01:30:53 +01:00
committed by GitHub
parent 8e89ec7685
commit 98fa44d99e

View File

@@ -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
}