feature: flip the required bit for payment addr in invoices/payload
In this commit, we move to start requiring the payment addr feature bit in the invoices we produce. With this change, if a user attempts to pay one of our invoices (assuming they're also an lnd node), then they'll receive an error when they attempt to pay. At this point, *most* lnd nodes should be on v0.11 at this point, and this change will notify any lagging wallet authors to update, as these payments are generally more secure.
This commit is contained in:
parent
ef503bf14e
commit
82ccab606c
@ -33,7 +33,7 @@ var defaultSetDesc = setDesc{
|
|||||||
SetInit: {}, // I
|
SetInit: {}, // I
|
||||||
SetNodeAnn: {}, // N
|
SetNodeAnn: {}, // N
|
||||||
},
|
},
|
||||||
lnwire.PaymentAddrOptional: {
|
lnwire.PaymentAddrRequired: {
|
||||||
SetInit: {}, // I
|
SetInit: {}, // I
|
||||||
SetNodeAnn: {}, // N
|
SetNodeAnn: {}, // N
|
||||||
SetInvoice: {}, // 9
|
SetInvoice: {}, // 9
|
||||||
|
Loading…
Reference in New Issue
Block a user