From 506903302883ba5f0d4f045acc29dec63f308807 Mon Sep 17 00:00:00 2001 From: mxaddict Date: Sat, 17 Feb 2024 05:27:18 +0800 Subject: [PATCH] Fixed error with test_node not having use_v2transport --- test/functional/test_framework/test_node.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index 0685deb9cdc2b..140edaf94e9bb 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -205,6 +205,8 @@ def start(self, extra_args=None, *, cwd=None, stdout=None, stderr=None, env=None if extra_args is None: extra_args = self.extra_args + self.use_v2transport = "-v2transport=1" in extra_args or (self.default_to_v2 and "-v2transport=0" not in extra_args) + # Add a new stdout and stderr file each time navcoind is started if stderr is None: stderr = tempfile.NamedTemporaryFile(dir=self.stderr_dir, delete=False)