diff --git a/docs/release-notes/release-notes-0.19.0.md b/docs/release-notes/release-notes-0.19.0.md index a0262b0f5..675ab7cf4 100644 --- a/docs/release-notes/release-notes-0.19.0.md +++ b/docs/release-notes/release-notes-0.19.0.md @@ -27,6 +27,10 @@ cause a nil pointer dereference during the probing of a payment request that does not contain a payment address. +* [Use the required route blinding + feature-bit](https://github.com/lightningnetwork/lnd/pull/9143) for invoices + containing blinded paths. + # New Features ## Functional Enhancements ## RPC Additions diff --git a/rpcserver.go b/rpcserver.go index c9edf852a..1cce42f2f 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -6055,8 +6055,9 @@ func (r *rpcServer) AddInvoice(ctx context.Context, // understand the new BOLT 11 tagged field // containing the blinded path, so we switch // the bit to required. - v.Unset(lnwire.Bolt11BlindedPathsOptional) - v.Set(lnwire.Bolt11BlindedPathsRequired) + v = feature.SetBit( + v, lnwire.Bolt11BlindedPathsRequired, + ) } return v