mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-27 16:18:08 -05:00
chore: rm redundant event variant (#9674)
This commit is contained in:
@@ -34,8 +34,6 @@ pub enum BackfillAction {
|
||||
/// The events that can be emitted on backfill sync.
|
||||
#[derive(Debug)]
|
||||
pub enum BackfillEvent {
|
||||
/// Backfill sync idle.
|
||||
Idle,
|
||||
/// Backfill sync started.
|
||||
Started(PipelineTarget),
|
||||
/// Backfill sync finished.
|
||||
|
||||
@@ -81,7 +81,6 @@ where
|
||||
// try to poll the backfill sync to completion, if active
|
||||
match this.backfill_sync.poll(cx) {
|
||||
Poll::Ready(backfill_sync_event) => match backfill_sync_event {
|
||||
BackfillEvent::Idle => {}
|
||||
BackfillEvent::Started(_) => {
|
||||
// notify handler that backfill sync started
|
||||
this.handler.on_event(FromOrchestrator::BackfillSyncStarted);
|
||||
|
||||
Reference in New Issue
Block a user