Skip to content

Commit

Permalink
test: fix off-by-one in dynamically_add_masternode
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Dec 12, 2024
1 parent 6519856 commit ec00c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/test_framework/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ def dynamically_add_masternode(self, evo=False, rnd=None, should_be_rejected=Fal
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)
Expand Down

0 comments on commit ec00c37

Please sign in to comment.