Skip to content

Commit 585589f

Browse files
committed
enable discovery for node
1 parent f0a1632 commit 585589f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ async fn setup_router<S: crate::store::Store>(
108108
tokio::task::JoinHandle<()>,
109109
LocalPool,
110110
)> {
111-
let endpoint = iroh_net::Endpoint::builder().bind().await?;
111+
let endpoint = iroh_net::Endpoint::builder().discovery_n0().bind().await?;
112112
let local_pool = LocalPool::single();
113113
let mut router = iroh_router::Router::builder(endpoint.clone());
114114

0 commit comments

Comments
 (0)