From 82ccab606c714f5389aaa71f326b4f76020a6d83 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Fri, 6 Nov 2020 19:16:35 -0800 Subject: [PATCH] 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. --- feature/default_sets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature/default_sets.go b/feature/default_sets.go index 33bd0b94..65e6607b 100644 --- a/feature/default_sets.go +++ b/feature/default_sets.go @@ -33,7 +33,7 @@ var defaultSetDesc = setDesc{ SetInit: {}, // I SetNodeAnn: {}, // N }, - lnwire.PaymentAddrOptional: { + lnwire.PaymentAddrRequired: { SetInit: {}, // I SetNodeAnn: {}, // N SetInvoice: {}, // 9