autopilot/prefattach: set NodeID for selection candidates

This commit is contained in:
Conner Fromknecht 2018-08-30 20:41:12 -07:00
parent 08b6bf54fb
commit c214bea9db
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -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(),
})