mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Track index into self.nodes in mninfo
This commit is contained in:
parent
effcd0ca53
commit
6488135f46
@ -329,6 +329,7 @@ class DashTestFramework(BitcoinTestFramework):
|
|||||||
args = ['-masternode=1',
|
args = ['-masternode=1',
|
||||||
'-masternodeblsprivkey=%s' % self.mninfo[idx].keyOperator] + self.extra_args
|
'-masternodeblsprivkey=%s' % self.mninfo[idx].keyOperator] + self.extra_args
|
||||||
node = start_node(idx + start_idx, self.options.tmpdir, args)
|
node = start_node(idx + start_idx, self.options.tmpdir, args)
|
||||||
|
self.mninfo[idx].nodeIdx = idx + start_idx
|
||||||
self.mninfo[idx].node = node
|
self.mninfo[idx].node = node
|
||||||
self.nodes[idx + start_idx] = node
|
self.nodes[idx + start_idx] = node
|
||||||
wait_to_sync(node, True)
|
wait_to_sync(node, True)
|
||||||
|
Loading…
Reference in New Issue
Block a user