Test that the closing fee negotiation step works, 30%
(node_factory, bitcoind, chainparams)
| 444 | |
| 445 | @unittest.skipIf(TEST_NETWORK == 'liquid-regtest', "Different closing fees") |
| 446 | def test_closing_negotiation_step_30pct(node_factory, bitcoind, chainparams): |
| 447 | """Test that the closing fee negotiation step works, 30%""" |
| 448 | opts = {} |
| 449 | opts['fee_negotiation_step'] = '30%' |
| 450 | |
| 451 | opts['close_initiated_by'] = 'opener' |
| 452 | opts['expected_close_fee'] = 20537 |
| 453 | closing_negotiation_step(node_factory, bitcoind, chainparams, opts) |
| 454 | |
| 455 | opts['close_initiated_by'] = 'peer' |
| 456 | opts['expected_close_fee'] = 20233 |
| 457 | closing_negotiation_step(node_factory, bitcoind, chainparams, opts) |
| 458 | |
| 459 | |
| 460 | @unittest.skipIf(TEST_NETWORK == 'liquid-regtest', "Different closing fees") |
nothing calls this directly
no test coverage detected