From aa2f0566f4c194c76abff38268f82aa29de36a68 Mon Sep 17 00:00:00 2001 From: Diva M Date: Thu, 30 May 2024 12:09:29 -0500 Subject: [PATCH] fix unused code --- iroh-net/src/discovery.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/iroh-net/src/discovery.rs b/iroh-net/src/discovery.rs index 6f71f6533a..e1856224f6 100644 --- a/iroh-net/src/discovery.rs +++ b/iroh-net/src/discovery.rs @@ -672,8 +672,6 @@ mod test_dns_pkarr { // wait until our shared state received the update from pkarr publishing dns_pkarr_server.on_node(&ep1.node_id(), timeout).await?; - let node_addr = NodeAddr::new(ep1.node_id()); - // we connect only by node id! let res = ep2.connect(ep1.node_id().into(), TEST_ALPN).await; assert!(res.is_ok(), "connection established");