From 72ad260e9d0498efc06150095cc612d9108fd1b9 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 16 Mar 2021 14:17:49 +1030 Subject: [PATCH] pytest: fix now-obsolete use of fundchannel_complete via txid. This was merged almost at the same time as the API change. Signed-off-by: Rusty Russell --- tests/test_closing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_closing.py b/tests/test_closing.py index 22a9c5b83..12745ed9b 100644 --- a/tests/test_closing.py +++ b/tests/test_closing.py @@ -2700,7 +2700,8 @@ Try a range of future segwit versions as shutdown scripts. We create many nodes @unittest.skipIf(EXPERIMENTAL_DUAL_FUND, "Uses fundchannel_start") def test_shutdown_alternate_txid(node_factory, bitcoind): l1, l2 = node_factory.line_graph(2, fundchannel=False, - opts={'experimental-shutdown-wrong-funding': None}) + opts={'experimental-shutdown-wrong-funding': None, + 'allow-deprecated-apis': True}) amount = 1000000 amount_msat = Millisatoshi(amount * 1000)