Track index into self.nodes in mninfo

This commit is contained in:
Alexander Block 2019-03-11 09:38:58 +01:00
parent effcd0ca53
commit 6488135f46

View File

@ -329,6 +329,7 @@ class DashTestFramework(BitcoinTestFramework):
args = ['-masternode=1',
'-masternodeblsprivkey=%s' % self.mninfo[idx].keyOperator] + self.extra_args
node = start_node(idx + start_idx, self.options.tmpdir, args)
self.mninfo[idx].nodeIdx = idx + start_idx
self.mninfo[idx].node = node
self.nodes[idx + start_idx] = node
wait_to_sync(node, True)