(node_factory, bitcoind)
| 4590 | |
| 4591 | |
| 4592 | def test_offer_deprecated_api(node_factory, bitcoind): |
| 4593 | l1, l2 = node_factory.line_graph(2, opts={'allow-deprecated-apis': True}) |
| 4594 | |
| 4595 | offer = l2.rpc.call('offer', {'amount': '2msat', |
| 4596 | 'description': 'test_offer_deprecated_api'}) |
| 4597 | inv = l1.rpc.call('fetchinvoice', {'offer': offer['bolt12']}) |
| 4598 | |
| 4599 | # Deprecated fields make schema checker upset. |
| 4600 | l1.rpc.jsonschemas = {} |
| 4601 | l1.rpc.pay(inv['invoice']) |
| 4602 | |
| 4603 | |
| 4604 | def test_fetchinvoice_3hop(node_factory, bitcoind): |
nothing calls this directly
no test coverage detected