diff --git a/test/functional/rpc_mnauth.py b/test/functional/rpc_mnauth.py index 155c3f720a..36309554aa 100755 --- a/test/functional/rpc_mnauth.py +++ b/test/functional/rpc_mnauth.py @@ -17,10 +17,11 @@ Tests mnauth RPC command class FakeMNAUTHTest(DashTestFramework): def set_test_params(self): - self.set_dash_test_params(2, 1) + self.set_dash_test_params(1, 0) def run_test(self): self.activate_v19(expected_activation_height=900) + self.dynamically_add_masternode() masternode = self.mninfo[0] masternode.node.add_p2p_connection(P2PInterface()) 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)