Skip to content

Commit

Permalink
fix: remove unused line
Browse files Browse the repository at this point in the history
  • Loading branch information
jjyr committed Nov 23, 2018
1 parent b345d21 commit c88464b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion network/src/discovery_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,6 @@ impl KadManage {
Ok(())
}

#[allow(dead_code)]
fn drop_connection(&mut self, peer_id: &PeerId) {
debug!(target: "discovery","disconnect kad connection from {:?}", peer_id);
self.kad_connections.remove(peer_id);
Expand Down

0 comments on commit c88464b

Please sign in to comment.