Fix typo from previous commit

This commit is contained in:
Paul Hauner 2019-03-24 18:37:23 +11:00
parent 755a09d164
commit 267477ffc2
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -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),