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.
This commit is contained in:
parent
de70175be6
commit
eb73d14a92
@ -206,7 +206,6 @@ func newServer(listenAddrs []string, notifier chainntnfs.ChainNotifier,
|
|||||||
for _, node := range linkNodes {
|
for _, node := range linkNodes {
|
||||||
// Create a wrapper address which couples the IP and the pubkey
|
// Create a wrapper address which couples the IP and the pubkey
|
||||||
// so the brontide authenticated connection can be established.
|
// so the brontide authenticated connection can be established.
|
||||||
node.Addresses[0].Port = defaultPeerPort
|
|
||||||
lnAddr := &lnwire.NetAddress{
|
lnAddr := &lnwire.NetAddress{
|
||||||
IdentityKey: node.IdentityPub,
|
IdentityKey: node.IdentityPub,
|
||||||
Address: node.Addresses[0],
|
Address: node.Addresses[0],
|
||||||
|
Loading…
Reference in New Issue
Block a user