test: fix off-by-one in dynamically_add_masternode

This commit is contained in:
UdjinM6 2024-12-12 13:31:14 +03:00
parent 6519856344
commit ec00c372c7
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9

View File

@ -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)