From eb73d14a92ad5033099d40579a44128248fc5ded Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 22 Jan 2017 15:58:51 -0800 Subject: [PATCH] lnd: revert usage of default port in connmgr persistent connections This commit reverts a prior commit as it broke the integration tests based on the assumption that all peers use the default port within the network. The issue which was attempted to be fixed will be remedied with a patch to the connmgr that allows a caller to cancel a persistent connection that has failed. --- server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server.go b/server.go index a538dbfa..d76389c8 100644 --- a/server.go +++ b/server.go @@ -206,7 +206,6 @@ func newServer(listenAddrs []string, notifier chainntnfs.ChainNotifier, for _, node := range linkNodes { // Create a wrapper address which couples the IP and the pubkey // so the brontide authenticated connection can be established. - node.Addresses[0].Port = defaultPeerPort lnAddr := &lnwire.NetAddress{ IdentityKey: node.IdentityPub, Address: node.Addresses[0],