autopilot/interface: expose NodeID in AttachmentDirective

This commit is contained in:
Conner Fromknecht committed 2018-09-05 20:10:34 -07:00
1 parent 4599b0eac3
commit 08b6bf54fb
1 file changed
+3
+3
View File
@@ -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