Skip to content

Commit

Permalink
fix unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
divagant-martian committed May 30, 2024
1 parent b9e633f commit aa2f056
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions iroh-net/src/discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit aa2f056

Please sign in to comment.