test: Make requires_wallet private

The bool is only used to call a public helper, which some tests already
do. So use the public helper in all tests consistently and make the
confusingly named bool private.
This commit is contained in:
MacroFake committed 2022-11-10 10:01:31 +01:00
1 parent 9dce30194b
commit fa68937b89
5 files changed
+8 -12

No files matched your search

+1 -2
View File
@@ -28,8 +28,6 @@ class RpcCreateMultiSigTest(BitcoinTestFramework):
self.setup_clean_chain = True
self.num_nodes = 3
self.supports_cli = False
if self.is_bdb_compiled():
self.requires_wallet = True
def get_keys(self):
self.pub = []
@@ -50,6 +48,7 @@ class RpcCreateMultiSigTest(BitcoinTestFramework):
self.wallet = MiniWallet(test_node=node0)
if self.is_bdb_compiled():
self.import_deterministic_coinbase_privkeys()
self.check_addmultisigaddress_errors()
self.log.info('Generating blocks ...')