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
SetNodeAnn: {}, // N
SetInvoice: {}, // 9
SetInvoiceAmp: {}, // 9A
SetLegacyGlobal: {},
},
lnwire.StaticRemoteKeyRequired: {
@ -37,6 +38,7 @@ var defaultSetDesc = setDesc{
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
},
}