From 5a233a1b27d10cc104ee0a070c8ac829aeb7dfbc Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 21 Nov 2019 16:55:26 +0100 Subject: [PATCH] pytest: Fix TLV hook tests in experimental mode I missed this test breaking with `EXPERIMENTAL_FEATURES` in #3261 --- tests/test_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index fa24b0cc5..163b8694a 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -535,7 +535,7 @@ def test_htlc_accepted_hook_forward_restart(node_factory, executor): onion = json.load(open(fname)) if EXPERIMENTAL_FEATURES: assert onion['type'] == 'tlv' - assert re.match(r'^020203e80401..0608................$', onion['payload']) + assert re.match(r'^11020203e80401..0608................$', onion['payload']) else: assert onion['type'] == 'legacy' assert re.match(r'^0000006700000.000100000000000003e8000000..000000000000000000000000$', onion['payload'])