code cleanup

This commit is contained in:
munna0908 2025-07-10 19:48:04 +05:30
parent 43150bdbed
commit 20b6d76b42
No known key found for this signature in database
GPG Key ID: 2FFCD637E937D3E6

View File

@ -423,7 +423,7 @@ proc nattedAddress*(
it.remapAddr(ip = newIP, port = tcp)
else:
# NAT mapping failed - use original address
error "Failed to get external IP, using original address"
echo "Failed to get external IP, using original address", it
discoveryAddrs.add(getMultiAddrWithIPAndUDPPort(ipPart.get, udpPort))
it
else: