mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
autopilot/prefattach: set NodeID for selection candidates
This commit is contained in:
@@ -249,7 +249,8 @@ func (p *ConstrainedPrefAttachment) Select(self *btcec.PublicKey, g ChannelGraph
|
||||
X: pub.X,
|
||||
Y: pub.Y,
|
||||
},
|
||||
Addrs: selectedNode.Addrs(),
|
||||
NodeID: NewNodeID(pub),
|
||||
Addrs: selectedNode.Addrs(),
|
||||
})
|
||||
|
||||
// With the node selected, we'll add it to the set of visited
|
||||
|
Reference in New Issue
Block a user