From 9a7814f3c7a08e7e8d2aa7af0bed7ef6ab14e683 Mon Sep 17 00:00:00 2001 From: Dusty Daemon Date: Wed, 25 Mar 2026 17:51:09 -0400 Subject: [PATCH] splice: Fix typo in test and xfail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This test should be enabled and it was failing because of a typo — this fixes both issues. Changelog-None --- tests/test_splice.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_splice.py b/tests/test_splice.py index 020408075b39..37fda1f232bd 100644 --- a/tests/test_splice.py +++ b/tests/test_splice.py @@ -686,7 +686,6 @@ def test_easy_splice_out_address(node_factory, bitcoind, chainparams): assert initial_wallet_balance + Millisatoshi(spliceamt * 1000) == end_wallet_balance -@pytest.mark.xfail(strict=True) @pytest.mark.openchannel('v1') @pytest.mark.openchannel('v2') @unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need') @@ -709,8 +708,8 @@ def test_easy_splice_out_into_channel(node_factory, bitcoind, chainparams): bitcoind.generate_block(6, wait_for_mempool=1) l2.daemon.wait_for_log(r'lightningd, splice_locked clearing inflights') - p1 = only_one(l1.rpc.listpeerchannels()) - p2 = only_one(l3.rpc.listpeerchannels()) + p1 = only_one(l1.rpc.listpeerchannels()['channels']) + p2 = only_one(l3.rpc.listpeerchannels()['channels']) assert 'inflight' not in p1 assert 'inflight' not in p2