From fac8d59d310fa94a8d5dd99659a76cd958d1fd1b Mon Sep 17 00:00:00 2001 From: MacroFake Date: Thu, 10 Nov 2022 14:46:12 +0100 Subject: test: Set -disablewallet when no wallet has been compiled self.descriptors is None when no wallet has been compiled, so it is safe to completely disable the wallet. This change will enhance a future commit. --- test/functional/test_framework/test_node.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index 0075fa0996..418f50fa41 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -105,6 +105,9 @@ class TestNode(): "-debugexclude=rand", "-uacomment=testnode%d" % i, ] + if self.descriptors is None: + self.args.append("-disablewallet") + if use_valgrind: default_suppressions_file = os.path.join( os.path.dirname(os.path.realpath(__file__)), -- cgit v1.2.3