Skip to content

Commit

Permalink
feature: populate SetInvoiceAmp with TlvOpt+PayAddrReq+AmpReq
Browse files Browse the repository at this point in the history
  • Loading branch information
cfromknecht committed May 10, 2021
1 parent bbb841b commit e97da53
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions feature/default_sets.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ var defaultSetDesc = setDesc{
SetInit: {}, // I
SetNodeAnn: {}, // N
SetInvoice: {}, // 9
SetInvoiceAmp: {}, // 9A
SetLegacyGlobal: {},
},
lnwire.StaticRemoteKeyRequired: {
Expand All @@ -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
Expand All @@ -54,6 +56,8 @@ var defaultSetDesc = setDesc{
lnwire.AMPOptional: {
SetInit: {}, // I
SetNodeAnn: {}, // N
SetInvoice: {}, // 9
},
lnwire.AMPRequired: {
SetInvoiceAmp: {}, // 9A
},
}

0 comments on commit e97da53

Please sign in to comment.