Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix typo (#9232)
Browse files Browse the repository at this point in the history
  • Loading branch information
dongz9 authored and sorpaas committed Jul 27, 2018
1 parent 77a5ce6 commit 5737c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/network-devp2p/src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ impl Host {
}
}

fn connection_closed(&self, token: TimerToken, io: &IoContext<NetworkIoMessage>) {
fn connection_closed(&self, token: StreamToken, io: &IoContext<NetworkIoMessage>) {
trace!(target: "network", "Connection closed: {}", token);
self.kill_connection(token, io, true);
}
Expand Down

0 comments on commit 5737c21

Please sign in to comment.