From 09509891f6e141019bf3780badc6662b49aa66cf Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Fri, 30 May 2025 18:25:40 -0600 Subject: [PATCH] remove echo (todo: fix trace log) --- codex/nat.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/codex/nat.nim b/codex/nat.nim index d022dad6..f11f16ea 100644 --- a/codex/nat.nim +++ b/codex/nat.nim @@ -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)