(node_factory)
| 216 | |
| 217 | |
| 218 | def test_xpay_selfpay(node_factory): |
| 219 | l1 = node_factory.get_node() |
| 220 | |
| 221 | b11 = l1.rpc.invoice(1000, "test_xpay_selfpay1", "test_xpay_selfpay1")['bolt11'] |
| 222 | offer = l1.rpc.offer('any') |
| 223 | b12 = l1.rpc.fetchinvoice(offer['bolt12'], '1000msat')['invoice'] |
| 224 | |
| 225 | l1.rpc.xpay(b11) |
| 226 | l1.rpc.xpay(b12) |
| 227 | |
| 228 | |
| 229 | # These were obviously having a bad day at the time of the snapshot: |
nothing calls this directly
no test coverage detected