mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-02 23:42:33 +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
@ -105,6 +105,9 @@ class TestNode():
|
|||||||
"-debugexclude=rand",
|
"-debugexclude=rand",
|
||||||
"-uacomment=testnode%d" % i,
|
"-uacomment=testnode%d" % i,
|
||||||
]
|
]
|
||||||
|
if self.descriptors is None:
|
||||||
|
self.args.append("-disablewallet")
|
||||||
|
|
||||||
if use_valgrind:
|
if use_valgrind:
|
||||||
default_suppressions_file = os.path.join(
|
default_suppressions_file = os.path.join(
|
||||||
os.path.dirname(os.path.realpath(__file__)),
|
os.path.dirname(os.path.realpath(__file__)),
|
||||||
|
Loading…
Reference in New Issue
Block a user