From 6488135f46c06bb4dc75b771e5f5de6bbbeb79dd Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Mon, 11 Mar 2019 09:38:58 +0100 Subject: [PATCH] Track index into self.nodes in mninfo --- qa/rpc-tests/test_framework/test_framework.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/rpc-tests/test_framework/test_framework.py b/qa/rpc-tests/test_framework/test_framework.py index 0214c64a0f..d45a88ab6b 100755 --- a/qa/rpc-tests/test_framework/test_framework.py +++ b/qa/rpc-tests/test_framework/test_framework.py @@ -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)