autopilot/prefattach: set NodeID for selection candidates

This commit is contained in:
Conner Fromknecht committed 2018-09-05 20:10:34 -07:00
1 parent 08b6bf54fb
commit c214bea9db
1 file changed
+1
+1
View File
@@ -249,6 +249,7 @@ func (p *ConstrainedPrefAttachment) Select(self *btcec.PublicKey, g ChannelGraph
X: pub.X, X: pub.X,
Y: pub.Y, Y: pub.Y,
}, },
NodeID: NewNodeID(pub),
Addrs: selectedNode.Addrs(), Addrs: selectedNode.Addrs(),
}) })