From 4d3bd66e9c063cb4844a82125fbb6ca26b728b4b Mon Sep 17 00:00:00 2001 From: Dusty Daemon Date: Wed, 16 Aug 2023 21:42:28 -0400 Subject: [PATCH] splice: Test for channel announcement failure Changelog-None --- tests/test_splicing.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_splicing.py b/tests/test_splicing.py index 959e4d4dc614..5797394eaddf 100644 --- a/tests/test_splicing.py +++ b/tests/test_splicing.py @@ -39,3 +39,7 @@ def test_splice(node_factory, bitcoind): # Check that the splice doesn't generate a unilateral close transaction time.sleep(5) assert l1.db_query("SELECT count(*) as c FROM channeltxs;")[0]['c'] == 0 + + # Check for channel announcement failure + assert not l1.daemon.is_in_log("invalid local_channel_announcement") + assert not l2.daemon.is_in_log("invalid local_channel_announcement")