You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the payment secret field ('s') mandatory for BOLT11 payment requests,
implementing the requirement specified in BOLT11 spec PR lightning/bolts#1242.
This enhances privacy by preventing intermediate nodes from probing the
destination using payment onions.
This commit implements the following changes:
- Adds validation in `zpay32` to fail decoding if the 's' field is
missing when no blinded path is provided.
- Adds a test vector for an invoice missing the 's' field.
- Updates existing tests to accommodate the mandatory payment address requirement.
0 commit comments