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

Function test_script_two_chan_splice_x

tests/test_splice.py:809–811  ·  view source on GitHub ↗
(node_factory, bitcoind)

Source from the content-addressed store, hash-verified

807@pytest.mark.openchannel('v2')
808@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
809def test_script_two_chan_splice_x(node_factory, bitcoind):
810 execute_script(node_factory, bitcoind, "* -> wallet; * -> {}; {} -> 200000",
811 [500000 + 100000 + 1, 500000 - 200000], [-0.5, 0]) # (+1 to track rounded sat)
812
813
814@pytest.mark.openchannel('v1')

Callers

nothing calls this directly

Calls 1

execute_scriptFunction · 0.85

Tested by

no test coverage detected