(node_factory, bitcoind)
| 4424 | |
| 4425 | @unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd does not provide feerates on regtest') |
| 4426 | def test_closing_minfee(node_factory, bitcoind): |
| 4427 | l1, l2 = node_factory.line_graph(2, opts={'feerates': None}) |
| 4428 | |
| 4429 | l1.rpc.xpay(l2.rpc.invoice(10000000, 'test', 'test')['bolt11']) |
| 4430 | |
| 4431 | wait_for(lambda: only_one(l1.rpc.listpeerchannels()['channels'])['htlcs'] == []) |
| 4432 | |
| 4433 | txid = only_one(l1.rpc.close(l2.info['id'])['txids']) |
| 4434 | bitcoind.generate_block(1, wait_for_mempool=txid) |
| 4435 | |
| 4436 | |
| 4437 | @unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd anchors not supportd') |
nothing calls this directly
no test coverage detected