aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_rawtransaction.py
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-11-10 10:12:39 +0100
committerMacroFake <falke.marco@gmail.com>2022-11-10 10:01:31 +0100
commitfa68937b89aa5b10b33b3f5146390cd7ad369ff7 (patch)
tree78ce9148f571c6f753c7b799bdf0bb155c6f07f6 /test/functional/rpc_rawtransaction.py
parent9dce30194bc07463d634072251a8bf83e1b10ff9 (diff)
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.
Diffstat (limited to 'test/functional/rpc_rawtransaction.py')
-rwxr-xr-xtest/functional/rpc_rawtransaction.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/rpc_rawtransaction.py b/test/functional/rpc_rawtransaction.py
index 930aaaa897..3eec352ffd 100755
--- a/test/functional/rpc_rawtransaction.py
+++ b/test/functional/rpc_rawtransaction.py
@@ -65,8 +65,6 @@ class RawTransactionsTest(BitcoinTestFramework):
# whitelist all peers to speed up tx relay / mempool sync
for args in self.extra_args:
args.append("-whitelist=noban@127.0.0.1")
- self.requires_wallet = self.is_specified_wallet_compiled()
-
self.supports_cli = False
def setup_network(self):
@@ -85,7 +83,8 @@ class RawTransactionsTest(BitcoinTestFramework):
self.sendrawtransaction_testmempoolaccept_tests()
self.decoderawtransaction_tests()
self.transaction_version_number_tests()
- if self.requires_wallet and not self.options.descriptors:
+ if self.is_specified_wallet_compiled() and not self.options.descriptors:
+ self.import_deterministic_coinbase_privkeys()
self.raw_multisig_transaction_legacy_tests()
def getrawtransaction_tests(self):