Skip to content

Commit d487552

Browse files
committed
remove echo (todo: fix trace log)
1 parent 67c2b0b commit d487552

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

codex/nat.nim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,12 @@ proc nattedAddress*(
423423
it.remapAddr(ip = newIP, port = tcp)
424424
else:
425425
# NAT mapping failed - use original address
426-
echo "Failed to get external IP, using original address", it
426+
# TODO: `trace` breaks in the mapIt template
427+
# trace "Failed to get external IP, using original address", it
427428
discoveryAddrs.add(getMultiAddrWithIPAndUDPPort(ipPart.get, udpPort))
428429
it
429430
else:
430431
# Invalid multiaddress format - return as is
431432
it
433+
432434
(newAddrs, discoveryAddrs)

0 commit comments

Comments
 (0)