From ec00c372c7c4230fb7de75bb1a00d4b81896dcd6 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Thu, 12 Dec 2024 13:31:14 +0300 Subject: [PATCH] test: fix off-by-one in dynamically_add_masternode --- test/functional/test_framework/test_framework.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index 9c84236369..487a59c19a 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -1279,7 +1279,7 @@ class DashTestFramework(BitcoinTestFramework): return self.dynamically_initialize_datadir(node_p2p_port, node_rpc_port) - node_info = self.add_dynamically_node(self.extra_args[1]) + node_info = self.add_dynamically_node(self.extra_args[0]) args = ['-masternodeblsprivkey=%s' % created_mn_info.keyOperator] + node_info.extra_args self.start_node(mn_idx, args)