mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
More fixes related to extra_args
This commit is contained in:
parent
5213118601
commit
41f0e9d028
@ -23,7 +23,7 @@ AUTO_IX_MEM_THRESHOLD = 0.1
|
||||
|
||||
class AutoISMempoolTest(DashTestFramework):
|
||||
def __init__(self):
|
||||
super().__init__(8, 5, ["-maxmempool=%d" % MAX_MEMPOOL_SIZE, '-limitdescendantsize=10'], fast_dip3_enforcement=True)
|
||||
super().__init__(8, 5, [["-maxmempool=%d" % MAX_MEMPOOL_SIZE, '-limitdescendantsize=10']] * 8, fast_dip3_enforcement=True)
|
||||
# set sender, receiver
|
||||
self.receiver_idx = 1
|
||||
self.sender_idx = 2
|
||||
|
@ -72,7 +72,7 @@ class LLMQChainLocksTest(DashTestFramework):
|
||||
good_tip = self.nodes[0].getbestblockhash()
|
||||
# Restart it so that it forgets all the chainlocks from the past
|
||||
stop_node(self.nodes[0], 0)
|
||||
self.nodes[0] = start_node(0, self.options.tmpdir, self.extra_args)
|
||||
self.nodes[0] = start_node(0, self.options.tmpdir, self.extra_args[0])
|
||||
connect_nodes(self.nodes[0], 1)
|
||||
self.nodes[0].invalidateblock(self.nodes[0].getbestblockhash())
|
||||
# Now try to reorg the chain
|
||||
|
@ -23,7 +23,7 @@ transactions with high fee.
|
||||
|
||||
class AutoInstantSendTest(DashTestFramework):
|
||||
def __init__(self):
|
||||
super().__init__(8, 5, [], fast_dip3_enforcement=True)
|
||||
super().__init__(8, 5, fast_dip3_enforcement=True)
|
||||
# set sender, receiver, isolated nodes
|
||||
self.receiver_idx = 1
|
||||
self.sender_idx = 2
|
||||
|
@ -332,7 +332,7 @@ class DashTestFramework(BitcoinTestFramework):
|
||||
copy_datadir(0, idx + start_idx, self.options.tmpdir)
|
||||
|
||||
# restart faucet node
|
||||
self.nodes[0] = start_node(0, self.options.tmpdir, self.extra_args)
|
||||
self.nodes[0] = start_node(0, self.options.tmpdir, self.extra_args[0])
|
||||
|
||||
def start_masternodes(self):
|
||||
start_idx = len(self.nodes)
|
||||
|
Loading…
Reference in New Issue
Block a user