From e3a1cd3b98cc8e649bdbda1fe6389c9fe3e91b9c Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Fri, 13 Dec 2024 21:17:52 +0100 Subject: [PATCH] cleanup --- iroh/src/discovery/pkarr/dht.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/iroh/src/discovery/pkarr/dht.rs b/iroh/src/discovery/pkarr/dht.rs index 1de962344c..9da6985337 100644 --- a/iroh/src/discovery/pkarr/dht.rs +++ b/iroh/src/discovery/pkarr/dht.rs @@ -344,7 +344,7 @@ impl Discovery for DhtDiscovery { "discovered node info from relay {:?}", node_addr ); - Some(anyhow::Ok(DiscoveryItem { + Some(Ok(DiscoveryItem { node_addr, provenance: "relay", last_updated: None, @@ -409,10 +409,6 @@ impl Discovery for DhtDiscovery { } Some(stream.filter_map(|t| t).boxed()) - // Some(Box::pin(ResolveStream { - // dht_resolve, - // relay_resolve, - // })) } }