Test that the closing fee negotiation step works, 1sat
(node_factory, bitcoind, chainparams)
| 479 | |
| 480 | @unittest.skipIf(TEST_NETWORK == 'liquid-regtest', "Different closing fees") |
| 481 | def test_closing_negotiation_step_1sat(node_factory, bitcoind, chainparams): |
| 482 | """Test that the closing fee negotiation step works, 1sat""" |
| 483 | opts = {} |
| 484 | opts['fee_negotiation_step'] = '1' |
| 485 | |
| 486 | opts['close_initiated_by'] = 'opener' |
| 487 | opts['expected_close_fee'] = 20989 |
| 488 | closing_negotiation_step(node_factory, bitcoind, chainparams, opts) |
| 489 | |
| 490 | opts['close_initiated_by'] = 'peer' |
| 491 | opts['expected_close_fee'] = 20010 |
| 492 | closing_negotiation_step(node_factory, bitcoind, chainparams, opts) |
| 493 | |
| 494 | |
| 495 | @unittest.skipIf(TEST_NETWORK == 'liquid-regtest', "Different closing fees") |
nothing calls this directly
no test coverage detected