From c076a100c2cb08f216d7b8acbde960dcfec9aaa7 Mon Sep 17 00:00:00 2001 From: Sangbida Chaudhuri <101164840+sangbida@users.noreply.github.com> Date: Wed, 21 Jan 2026 06:29:28 +1030 Subject: [PATCH] test: use old hsmsecret format for hardcoded onion message --- tests/test_connection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_connection.py b/tests/test_connection.py index 6bfe59e44..1d3ea7d1a 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -4455,7 +4455,8 @@ def test_connect_transient_pending(node_factory, bitcoind, executor): def test_injectonionmessage(node_factory): """Test for injectonionmessage API""" - l1, l2 = node_factory.line_graph(2) + # Hardcoded onion message was created with old hsmsecret format + l1, l2 = node_factory.line_graph(2, opts={'old_hsmsecret': True}) # This is deterministic, so the onion message created by fetchinvoice can be replayed here # manually