mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-10 01:13:10 +00:00
remove echo (todo: fix trace log)
This commit is contained in:
parent
481845a9b2
commit
09509891f6
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user