Fix typo from previous commit
This commit is contained in:
parent
755a09d164
commit
267477ffc2
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user