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

View File

@ -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: {
@ -37,6 +38,7 @@ var defaultSetDesc = setDesc{
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
}, },
} }