remove echo (todo: fix trace log)

This commit is contained in:
Dmitriy Ryajov 2025-05-30 18:25:40 -06:00 committed by Eric
parent 481845a9b2
commit 09509891f6
No known key found for this signature in database

View File

@ -423,10 +423,12 @@ proc nattedAddress*(
it.remapAddr(ip = newIP, port = tcp)
else:
# NAT mapping failed - use original address
echo "Failed to get external IP, using original address", it
# TODO: `trace` breaks in the mapIt template
# trace "Failed to get external IP, using original address", it
discoveryAddrs.add(getMultiAddrWithIPAndUDPPort(ipPart.get, udpPort))
it
else:
# Invalid multiaddress format - return as is
it
(newAddrs, discoveryAddrs)