mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue