mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-13 07:37:22 +01:00
In this commit, we fix a minor logging bug introduced in a prior commit. Before we would directly modify the *net.TCPAddr that was a part of the brontide connection. This achieved our goal, but would print weird log messages as we mutated the port in the already established connection. In this commit, we fix that by ensuring we create a copy iff it's a net.TCPAddr, then modify that and replace the instance in the lnwire.NetAddress. Fixes #991.
62 KiB
62 KiB