From e97da53676c79bc33e29fd4e2f51a211bf88c389 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Thu, 6 May 2021 09:14:49 -0700 Subject: [PATCH] feature: populate SetInvoiceAmp with TlvOpt+PayAddrReq+AmpReq --- feature/default_sets.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/feature/default_sets.go b/feature/default_sets.go index 4c0de569..9103f903 100644 --- a/feature/default_sets.go +++ b/feature/default_sets.go @@ -22,6 +22,7 @@ var defaultSetDesc = setDesc{ SetInit: {}, // I SetNodeAnn: {}, // N SetInvoice: {}, // 9 + SetInvoiceAmp: {}, // 9A SetLegacyGlobal: {}, }, lnwire.StaticRemoteKeyRequired: { @@ -34,9 +35,10 @@ var defaultSetDesc = setDesc{ SetNodeAnn: {}, // N }, lnwire.PaymentAddrRequired: { - SetInit: {}, // I - SetNodeAnn: {}, // N - SetInvoice: {}, // 9 + SetInit: {}, // I + SetNodeAnn: {}, // N + SetInvoice: {}, // 9 + SetInvoiceAmp: {}, // 9A }, lnwire.MPPOptional: { SetInit: {}, // I @@ -54,6 +56,8 @@ var defaultSetDesc = setDesc{ lnwire.AMPOptional: { SetInit: {}, // I SetNodeAnn: {}, // N - SetInvoice: {}, // 9 + }, + lnwire.AMPRequired: { + SetInvoiceAmp: {}, // 9A }, }