mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
fix: actually run rpc_fundrawtransaction with and without HD feature
This commit is contained in:
parent
2f7f67831d
commit
a392be6cf0
@ -28,17 +28,16 @@ class RawTransactionsTest(BitcoinTestFramework):
|
||||
def set_test_params(self):
|
||||
self.num_nodes = 4
|
||||
self.setup_clean_chain = True
|
||||
self.extra_args = [[f'-usehd={self.options.usehd}']] * self.num_nodes
|
||||
# This test isn't testing tx relay. Set whitelist on the peers for
|
||||
# instant tx relay.
|
||||
self.extra_args = [['-whitelist=noban@127.0.0.1']] * self.num_nodes
|
||||
self.extra_args = [[f'-usehd={not self.options.nohd}', '-whitelist=noban@127.0.0.1']] * self.num_nodes
|
||||
|
||||
def skip_test_if_missing_module(self):
|
||||
self.skip_if_no_wallet()
|
||||
|
||||
def add_options(self, parser):
|
||||
parser.add_argument("--usehd", dest="usehd", default=False, action="store_true",
|
||||
help="Test with -usehd enabled")
|
||||
parser.add_argument("--nohd", dest="nohd", default=False, action="store_true",
|
||||
help="Test with -nohd enabled")
|
||||
|
||||
def setup_network(self):
|
||||
self.setup_nodes()
|
||||
|
@ -98,7 +98,7 @@ BASE_SCRIPTS = [
|
||||
'feature_maxuploadtarget.py',
|
||||
'feature_block.py', # NOTE: needs dash_hash to pass
|
||||
'rpc_fundrawtransaction.py',
|
||||
'rpc_fundrawtransaction.py --usehd',
|
||||
'rpc_fundrawtransaction.py --nohd',
|
||||
'wallet_multiwallet.py --usecli',
|
||||
'p2p_quorum_data.py',
|
||||
# vv Tests less than 2m vv
|
||||
|
Loading…
Reference in New Issue
Block a user