We can fetch an pay our own offer
(node_factory)
| 854 | |
| 855 | |
| 856 | def test_offer_selfpay(node_factory): |
| 857 | """We can fetch an pay our own offer""" |
| 858 | l1 = node_factory.get_node(options={'allow-deprecated-apis': True}) |
| 859 | offer = l1.rpc.offer(amount="2msat", description="test_offer_path_self")["bolt12"] |
| 860 | inv = l1.rpc.fetchinvoice(offer)["invoice"] |
| 861 | l1.rpc.call("renepay", {"invstring": inv}) |
| 862 | |
| 863 | |
| 864 | def test_unannounced(node_factory): |
nothing calls this directly
no test coverage detected