mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-11 06:37:21 +01:00
feature: populate SetInvoiceAmp with TlvOpt+PayAddrReq+AmpReq
This commit is contained in:
@@ -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
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user