diff --git a/beacon_node/network/src/service.rs b/beacon_node/network/src/service.rs index 3c2e8ecf321..184364e933b 100644 --- a/beacon_node/network/src/service.rs +++ b/beacon_node/network/src/service.rs @@ -925,7 +925,7 @@ impl NetworkService { let new_fork_digest = new_enr_fork_id.fork_digest; let fork_context = &self.fork_context; - if let Some(new_fork_name) = fork_context.from_context_bytes(new_fork_digest.clone()) { + if let Some(new_fork_name) = fork_context.from_context_bytes(new_fork_digest) { info!( self.log, "Transitioned to new fork";