autopilot/multi: replace PubKey -> NodeKey on directive

This commit is contained in:
Conner Fromknecht
2018-09-04 01:55:05 -07:00
parent e702a6a266
commit d5f97f7bdc
4 changed files with 13 additions and 13 deletions

View File

@@ -245,7 +245,7 @@ func (p *ConstrainedPrefAttachment) Select(self *btcec.PublicKey, g ChannelGraph
}
directives = append(directives, AttachmentDirective{
// TODO(roasbeef): need curve?
PeerKey: &btcec.PublicKey{
NodeKey: &btcec.PublicKey{
X: pub.X,
Y: pub.Y,
},