From dcc78ccbc76d3236a396a273bfe37da5663c5d3b Mon Sep 17 00:00:00 2001 From: Age Manning Date: Wed, 9 Aug 2023 16:45:16 +1000 Subject: [PATCH] Remove unused var --- beacon_node/lighthouse_network/src/service/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_node/lighthouse_network/src/service/mod.rs b/beacon_node/lighthouse_network/src/service/mod.rs index b203e0aac93..77c71398ef6 100644 --- a/beacon_node/lighthouse_network/src/service/mod.rs +++ b/beacon_node/lighthouse_network/src/service/mod.rs @@ -1562,7 +1562,7 @@ impl Network { } } SwarmEvent::Dialing { - peer_id, + peer_id: _, connection_id: _, } => None, }; @@ -1598,4 +1598,4 @@ impl Network { pub async fn next_event(&mut self) -> NetworkEvent { futures::future::poll_fn(|cx| self.poll_network(cx)).await } -} +} \ No newline at end of file