mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
fix(events): handle PipelineEvent::Unwound to clean up current_stage (#22340)
This commit is contained in:
@@ -206,6 +206,10 @@ impl NodeState {
|
||||
|
||||
self.current_stage = Some(current_stage);
|
||||
}
|
||||
PipelineEvent::Unwound { stage_id, result } => {
|
||||
info!(stage = %stage_id, checkpoint = %result.checkpoint.block_number, "Unwound stage");
|
||||
self.current_stage = None;
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user