diff --git a/iroh-willow/src/net.rs b/iroh-willow/src/net.rs index 1efd4b6e64..83a9f9cee8 100644 --- a/iroh-willow/src/net.rs +++ b/iroh-willow/src/net.rs @@ -562,7 +562,7 @@ mod tests { .alpns(vec![ALPN.to_vec()]) .bind(0) .await?; - let addr = ep.my_addr().await?; + let addr = ep.node_addr().await?; let node_id = ep.node_id(); Ok((ep, node_id, addr)) }