We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb8b9f0 commit 5603c84Copy full SHA for 5603c84
crates/sync/pipeline/src/lib.rs
@@ -285,8 +285,6 @@ impl<P: StageCheckpointProvider> Pipeline<P> {
285
/// Returns an error if any stage execution fails or if the pipeline fails to read the
286
/// checkpoint.
287
pub async fn run_once(&mut self, to: BlockNumber) -> PipelineResult<BlockNumber> {
288
- let tip = self.tip.expect("qed; should exist by now");
289
-
290
if self.stages.is_empty() {
291
return Ok(to);
292
}
0 commit comments