diff --git a/beacon_node/network/src/sync/simple_sync.rs b/beacon_node/network/src/sync/simple_sync.rs index c23a6ec56..4ee349043 100644 --- a/beacon_node/network/src/sync/simple_sync.rs +++ b/beacon_node/network/src/sync/simple_sync.rs @@ -131,12 +131,7 @@ impl SimpleSync { /// Handle a `Goodbye` message from a peer. /// /// Removes the peer from `known_peers`. - pub fn on_goodbye( - &mut self, - peer_id: PeerId, - reason: GoodbyeReason, - ddnetwork: &mut NetworkContext, - ) { + pub fn on_goodbye(&mut self, peer_id: PeerId, reason: GoodbyeReason) { info!( self.log, "PeerGoodbye"; "peer" => format!("{:?}", peer_id),