diff options
author | MacroFake <falke.marco@gmail.com> | 2022-11-10 14:46:12 +0100 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-11-10 14:39:26 +0100 |
commit | fac8d59d310fa94a8d5dd99659a76cd958d1fd1b (patch) | |
tree | 9498a651dcd1fa6e1701559b13c31285d60d746c /test | |
parent | fa68937b89aa5b10b33b3f5146390cd7ad369ff7 (diff) | |
download | bitcoin-fac8d59d310fa94a8d5dd99659a76cd958d1fd1b.tar.xz |
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.
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/test_framework/test_node.py | 3 |
1 files changed, 3 insertions, 0 deletions
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__)), |