(node_factory, bitcoind)
| 4602 | |
| 4603 | |
| 4604 | def test_fetchinvoice_3hop(node_factory, bitcoind): |
| 4605 | l1, l2, l3, l4 = node_factory.line_graph(4, wait_for_announce=True, |
| 4606 | opts={'may_reconnect': True, |
| 4607 | 'dev-no-reconnect': None}) |
| 4608 | offer1 = l4.rpc.call('offer', {'amount': '2msat', |
| 4609 | 'description': 'simple test'}) |
| 4610 | assert offer1['created'] is True |
| 4611 | |
| 4612 | l1.rpc.call('fetchinvoice', {'offer': offer1['bolt12']}) |
| 4613 | |
| 4614 | |
| 4615 | def test_fetchinvoice(node_factory, bitcoind): |
nothing calls this directly
no test coverage detected