Skip to content

Commit

Permalink
Fixed error with test_node not having use_v2transport
Browse files Browse the repository at this point in the history
  • Loading branch information
mxaddict committed Feb 16, 2024
1 parent a6b4e2d commit 5069033
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/test_framework/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5069033

Please sign in to comment.