Skip to content

Commit 02001da

Browse files
committed
fix: add feature for payment_secret
payment_secret bit is a required feature bit that should always be set for bolt11
1 parent ad2dc97 commit 02001da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_xpay.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,7 @@ def test_xpay_no_mpp(node_factory, chainparams):
646646
f"p={no_mpp['payment_hash']}",
647647
f"s={no_mpp['payment_secret']}",
648648
f"d=Paying l3 without mpp",
649+
"9=4000", # Include payment_secret (bit 14) but not basic_mpp (bit 16)
649650
f"amount={AMOUNT}"]).decode('utf-8').strip()
650651

651652
# This should not mpp!

0 commit comments

Comments
 (0)