Test that the closing fee negotiation step works, 1sat
(node_factory, bitcoind, chainparams)
| 451 | @unittest.skipIf(EXPERIMENTAL_FEATURES, "anchors uses quick-close, not negotiation") |
| 452 | @unittest.skipIf(TEST_NETWORK == 'liquid-regtest', "Different closing fees") |
| 453 | def test_closing_negotiation_step_1sat(node_factory, bitcoind, chainparams): |
| 454 | """Test that the closing fee negotiation step works, 1sat""" |
| 455 | opts = {} |
| 456 | opts['fee_negotiation_step'] = '1' |
| 457 | |
| 458 | opts['close_initiated_by'] = 'opener' |
| 459 | opts['expected_close_fee'] = 20989 |
| 460 | closing_negotiation_step(node_factory, bitcoind, chainparams, opts) |
| 461 | |
| 462 | opts['close_initiated_by'] = 'peer' |
| 463 | opts['expected_close_fee'] = 20010 |
| 464 | closing_negotiation_step(node_factory, bitcoind, chainparams, opts) |
| 465 | |
| 466 | |
| 467 | @unittest.skipIf(EXPERIMENTAL_FEATURES, "anchors uses quick-close, not negotiation") |
nothing calls this directly
no test coverage detected