From 2984f4b47433802a2f0ec0cd3525c3b031de2b3b Mon Sep 17 00:00:00 2001 From: Lion - dapplion <35266934+dapplion@users.noreply.github.com> Date: Mon, 6 Dec 2021 05:34:15 +0000 Subject: [PATCH] Remove wrong duplicated comment (#2751) ## Issue Addressed Remove wrong duplicated comment. Comment was copied from ban_peer() but doesn't apply to unban_peer() --- beacon_node/lighthouse_network/src/discovery/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/beacon_node/lighthouse_network/src/discovery/mod.rs b/beacon_node/lighthouse_network/src/discovery/mod.rs index 44b95b9854..ae7335b5ca 100644 --- a/beacon_node/lighthouse_network/src/discovery/mod.rs +++ b/beacon_node/lighthouse_network/src/discovery/mod.rs @@ -563,7 +563,6 @@ impl Discovery { pub fn unban_peer(&mut self, peer_id: &PeerId, ip_addresses: Vec) { // first try and convert the peer_id to a node_id. if let Ok(node_id) = peer_id_to_node_id(peer_id) { - // If we could convert this peer id, remove it from the DHT and ban it from discovery. self.discv5.ban_node_remove(&node_id); }