Skip to content

Commit 3467f8b

Browse files
ddustinsangbida
authored andcommitted
splice: Fix typo in test and xfail
This test should be enabled and it was failing because of a typo — this fixes both issues. Changelog-None
1 parent 272aef5 commit 3467f8b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/test_splice.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,6 @@ def test_easy_splice_out_address(node_factory, bitcoind, chainparams):
686686
assert initial_wallet_balance + Millisatoshi(spliceamt * 1000) == end_wallet_balance
687687

688688

689-
@pytest.mark.xfail(strict=True)
690689
@pytest.mark.openchannel('v1')
691690
@pytest.mark.openchannel('v2')
692691
@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):
709708
bitcoind.generate_block(6, wait_for_mempool=1)
710709
l2.daemon.wait_for_log(r'lightningd, splice_locked clearing inflights')
711710

712-
p1 = only_one(l1.rpc.listpeerchannels())
713-
p2 = only_one(l3.rpc.listpeerchannels())
711+
p1 = only_one(l1.rpc.listpeerchannels()['channels'])
712+
p2 = only_one(l3.rpc.listpeerchannels()['channels'])
714713
assert 'inflight' not in p1
715714
assert 'inflight' not in p2
716715

0 commit comments

Comments
 (0)