feature: populate SetInvoiceAmp with TlvOpt+PayAddrReq+AmpReq

This commit is contained in:
Conner Fromknecht 2021-05-06 09:14:49 -07:00
parent bbb841bd5f
commit e97da53676
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -22,6 +22,7 @@ var defaultSetDesc = setDesc{
SetInit: {}, // I SetInit: {}, // I
SetNodeAnn: {}, // N SetNodeAnn: {}, // N
SetInvoice: {}, // 9 SetInvoice: {}, // 9
SetInvoiceAmp: {}, // 9A
SetLegacyGlobal: {}, SetLegacyGlobal: {},
}, },
lnwire.StaticRemoteKeyRequired: { lnwire.StaticRemoteKeyRequired: {
@ -34,9 +35,10 @@ var defaultSetDesc = setDesc{
SetNodeAnn: {}, // N SetNodeAnn: {}, // N
}, },
lnwire.PaymentAddrRequired: { lnwire.PaymentAddrRequired: {
SetInit: {}, // I SetInit: {}, // I
SetNodeAnn: {}, // N SetNodeAnn: {}, // N
SetInvoice: {}, // 9 SetInvoice: {}, // 9
SetInvoiceAmp: {}, // 9A
}, },
lnwire.MPPOptional: { lnwire.MPPOptional: {
SetInit: {}, // I SetInit: {}, // I
@ -54,6 +56,8 @@ var defaultSetDesc = setDesc{
lnwire.AMPOptional: { lnwire.AMPOptional: {
SetInit: {}, // I SetInit: {}, // I
SetNodeAnn: {}, // N SetNodeAnn: {}, // N
SetInvoice: {}, // 9 },
lnwire.AMPRequired: {
SetInvoiceAmp: {}, // 9A
}, },
} }