MCPcopy Create free account
hub / github.com/ElementsProject/lightning / test_closing_negotiation_step_700sat

Function test_closing_negotiation_step_700sat

tests/test_closing.py:469–480  ·  view source on GitHub ↗

Test that the closing fee negotiation step works, 700sat

(node_factory, bitcoind, chainparams)

Source from the content-addressed store, hash-verified

467@unittest.skipIf(EXPERIMENTAL_FEATURES, "anchors uses quick-close, not negotiation")
468@unittest.skipIf(TEST_NETWORK == 'liquid-regtest', "Different closing fees")
469def test_closing_negotiation_step_700sat(node_factory, bitcoind, chainparams):
470 """Test that the closing fee negotiation step works, 700sat"""
471 opts = {}
472 opts['fee_negotiation_step'] = '700'
473
474 opts['close_initiated_by'] = 'opener'
475 opts['expected_close_fee'] = 20151
476 closing_negotiation_step(node_factory, bitcoind, chainparams, opts)
477
478 opts['close_initiated_by'] = 'peer'
479 opts['expected_close_fee'] = 20499
480 closing_negotiation_step(node_factory, bitcoind, chainparams, opts)
481
482
483@pytest.mark.developer("needs dev-disable-commit-after")

Callers

nothing calls this directly

Calls 1

closing_negotiation_stepFunction · 0.85

Tested by

no test coverage detected