mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-13 11:09:23 +01:00
feature: populate SetInvoiceAmp with TlvOpt+PayAddrReq+AmpReq
This commit is contained in:
parent
bbb841bd5f
commit
e97da53676
1 changed files with 8 additions and 4 deletions
|
@ -22,6 +22,7 @@ var defaultSetDesc = setDesc{
|
|||
SetInit: {}, // I
|
||||
SetNodeAnn: {}, // N
|
||||
SetInvoice: {}, // 9
|
||||
SetInvoiceAmp: {}, // 9A
|
||||
SetLegacyGlobal: {},
|
||||
},
|
||||
lnwire.StaticRemoteKeyRequired: {
|
||||
|
@ -34,9 +35,10 @@ var defaultSetDesc = setDesc{
|
|||
SetNodeAnn: {}, // N
|
||||
},
|
||||
lnwire.PaymentAddrRequired: {
|
||||
SetInit: {}, // I
|
||||
SetNodeAnn: {}, // N
|
||||
SetInvoice: {}, // 9
|
||||
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
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue