mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Fix typo from previous commit
This commit is contained in:
@@ -131,12 +131,7 @@ impl SimpleSync {
|
|||||||
/// Handle a `Goodbye` message from a peer.
|
/// Handle a `Goodbye` message from a peer.
|
||||||
///
|
///
|
||||||
/// Removes the peer from `known_peers`.
|
/// Removes the peer from `known_peers`.
|
||||||
pub fn on_goodbye(
|
pub fn on_goodbye(&mut self, peer_id: PeerId, reason: GoodbyeReason) {
|
||||||
&mut self,
|
|
||||||
peer_id: PeerId,
|
|
||||||
reason: GoodbyeReason,
|
|
||||||
ddnetwork: &mut NetworkContext,
|
|
||||||
) {
|
|
||||||
info!(
|
info!(
|
||||||
self.log, "PeerGoodbye";
|
self.log, "PeerGoodbye";
|
||||||
"peer" => format!("{:?}", peer_id),
|
"peer" => format!("{:?}", peer_id),
|
||||||
|
|||||||
Reference in New Issue
Block a user