From 08b6bf54fb73e84d6478f02fd7778a2e2b4d5c1f Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Thu, 30 Aug 2018 20:40:52 -0700 Subject: [PATCH] autopilot/interface: expose NodeID in AttachmentDirective --- autopilot/interface.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autopilot/interface.go b/autopilot/interface.go index 7f632d89..2b7155fe 100644 --- a/autopilot/interface.go +++ b/autopilot/interface.go @@ -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