Skip to content

Commit

Permalink
Rename unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
ark0f committed Aug 9, 2024
1 parent 3935c5a commit a4ea6eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ethexe/cli/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub struct Service {
processor: ethexe_processor::Processor,
signer: ethexe_signer::Signer,
block_time: Duration,
sync_mode: SyncMode,
_sync_mode: SyncMode,

// Optional services
network: Option<ethexe_network::NetworkService>,
Expand Down Expand Up @@ -157,7 +157,7 @@ impl Service {
metrics_service,
rpc,
block_time: config.block_time,
sync_mode: config.sync_mode,
_sync_mode: config.sync_mode,
})
}

Expand Down Expand Up @@ -197,7 +197,7 @@ impl Service {
validator,
metrics_service,
rpc,
sync_mode,
_sync_mode: sync_mode,
}
}

Expand Down Expand Up @@ -389,7 +389,7 @@ impl Service {
metrics_service,
rpc,
block_time,
sync_mode: _,
_sync_mode,
} = self;

if let Some(metrics_service) = metrics_service {
Expand Down

0 comments on commit a4ea6eb

Please sign in to comment.