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");