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

Function test_script_two_chan_splice_z

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

Source from the content-addressed store, hash-verified

823@pytest.mark.openchannel('v2')
824@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
825def test_script_two_chan_splice_z(node_factory, bitcoind):
826 execute_script(node_factory, bitcoind, "wallet -> 100000; 70% -> {}; 30% -> {}",
827 [500000 + int(100000 * 0.7), 500000 + int(100000 * 0.3)], [-0.7, -0.3])
828
829
830@pytest.mark.openchannel('v1')

Callers

nothing calls this directly

Calls 1

execute_scriptFunction · 0.85

Tested by

no test coverage detected