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

+2 -2
View File
@@ -85,10 +85,10 @@ type ChannelGraph interface {
// AttachmentHeuristic. It details to which node a channel should be created
// to, and also the parameters which should be used in the channel creation.
type AttachmentDirective struct {
// PeerKey is the target node for this attachment directive. It can be
// NodeKey is the target node for this attachment directive. It can be
// identified by its public key, and therefore can be used along with
// a ChannelOpener implementation to execute the directive.
PeerKey *btcec.PublicKey
NodeKey *btcec.PublicKey
// NodeID is the serialized compressed pubkey of the target node.
NodeID NodeID