mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-10 13:09:24 +02:00
TCP addresses resolved through net.ResolveTCPAddr give a default network of "tcp", so we'll map back the correct network for the given address. This ensures that we can listen on the correct interface (IPv4 vs IPv6).