Skip to content

Commit 3d37d62

Browse files
fixup
1 parent 7ea0384 commit 3d37d62

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

iroh/src/endpoint.rs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2704,9 +2704,15 @@ mod tests {
27042704
.bind()
27052705
.await?;
27062706

2707-
tokio::time::timeout(Duration::from_secs(10), ep.watch_node_addr().initialized())
2708-
.await
2709-
.e()?;
2707+
tokio::time::timeout(
2708+
Duration::from_secs(10),
2709+
ep.watch_node_addr()
2710+
.map(|addr| addr.map(|addr| addr.direct_addresses))
2711+
.unwrap()
2712+
.initialized(),
2713+
)
2714+
.await
2715+
.e()?;
27102716
Ok(())
27112717
}
27122718

0 commit comments

Comments
 (0)