Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ackintosh committed Jul 21, 2023
1 parent 4e97ec7 commit 5623e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_node/network/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ impl<T: BeaconChainTypes> NetworkService<T> {
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";
Expand Down

0 comments on commit 5623e45

Please sign in to comment.