Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-aranha-cw committed Jun 25, 2024
1 parent 46303a1 commit aad26e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/eth/consensus/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ use crate::eth::consensus::Role;
use crate::eth::Consensus;
#[cfg(feature = "metrics")]
use crate::infra::metrics;
use crate::infra::metrics::timed;

#[cfg(feature = "metrics")]
mod label {
Expand All @@ -40,7 +39,7 @@ impl AppendEntryService for AppendEntryServiceImpl {
) -> Result<Response<AppendTransactionExecutionsResponse>, Status> {
#[cfg(feature = "metrics")]
let start = std::time::Instant::now();

let consensus = self.consensus.lock().await;
let request_inner = request.into_inner();

Expand Down

0 comments on commit aad26e5

Please sign in to comment.