We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635f0e6 commit 219da3aCopy full SHA for 219da3a
tests/test_xpay.py
@@ -172,10 +172,10 @@ def test_xpay_simple(node_factory):
172
b11 = l4.rpc.invoice('10000msat', 'test_xpay_simple', 'test_xpay_simple bolt11')['bolt11']
173
l1.rpc.xpay(b11)
174
175
- # BOLT 12.
+ # BOLT 12 (with payer_note specified).
176
offer = l3.rpc.offer('any')['bolt12']
177
b12 = l1.rpc.fetchinvoice(offer, '100000msat')['invoice']
178
- l1.rpc.xpay(b12)
+ l1.rpc.xpay(invstring=b12, payer_note="Payment for super cheap coffee")
179
180
# Failure from l4.
181
b11 = l4.rpc.invoice('10000msat', 'test_xpay_simple2', 'test_xpay_simple2 bolt11')['bolt11']
0 commit comments