autopilot/interface: expose NodeID in AttachmentDirective

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

@ -90,6 +90,9 @@ type AttachmentDirective struct {
// a ChannelOpener implementation to execute the directive.
PeerKey *btcec.PublicKey
// NodeID is the serialized compressed pubkey of the target node.
NodeID NodeID
// ChanAmt is the size of the channel that should be opened, expressed
// in satoshis.
ChanAmt btcutil.Amount