mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-04 12:42:05 +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:
@ -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__)),
|
||||||
|
Reference in New Issue
Block a user