autopilot/prefattach: set NodeID for selection candidates
This commit is contained in:
1 file changed
+1
@@ -249,6 +249,7 @@ func (p *ConstrainedPrefAttachment) Select(self *btcec.PublicKey, g ChannelGraph
|
||||
X: pub.X,
|
||||
Y: pub.Y,
|
||||
},
|
||||
NodeID: NewNodeID(pub),
|
||||
Addrs: selectedNode.Addrs(),
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user