mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-19 05:45:05 +01:00
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.
This commit is contained in:
parent
fa68937b89
commit
fac8d59d31
@ -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__)),
|
||||
|
Loading…
Reference in New Issue
Block a user