From 2bed205bed014733a44d0a2f142c1d4d43525433 Mon Sep 17 00:00:00 2001 From: Daniel N <2color@users.noreply.github.com> Date: Thu, 19 Dec 2024 11:40:00 +0100 Subject: [PATCH] Revert "fix: only return public ips in fallback iter" This reverts commit bb2fd4ce56ee516d61be2af90c9d299fa6a06c7a. --- server_cached_router.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server_cached_router.go b/server_cached_router.go index 5480a28..ae93588 100644 --- a/server_cached_router.go +++ b/server_cached_router.go @@ -224,7 +224,6 @@ func (it *cacheFallbackIter) dispatchFindPeer(record types.PeerRecord) { } if len(peers) > 0 { // If we found the peer, pass back the result - peers[0].Addrs = filterPrivateMultiaddr(peers[0].Addrs) // filter out private addresses it.findPeersResult <- *peers[0] } else { it.findPeersResult <- record // pass back the record with no addrs