feature: populate SetInvoiceAmp with TlvOpt+PayAddrReq+AmpReq
This commit is contained in:
parent
bbb841bd5f
commit
e97da53676
@ -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
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user