mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-01-14 11:54:23 +01: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).