autopilot/multi: replace PubKey -> NodeKey on directive

This commit is contained in:
Conner Fromknecht committed 2018-09-05 20:10:37 -07:00
1 parent e702a6a266
commit d5f97f7bdc
4 files changed
+13 -13

No files matched your search

+1 -1
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,
},