From 35b50eea87aff28b9381eb9f58fc9793783d7622 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sat, 14 Mar 2015 02:22:32 +0300 Subject: [PATCH] Use network specific masternode.conf --- src/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.cpp b/src/util.cpp index c7155f799e2c..5ab6bbd8baf1 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1098,7 +1098,7 @@ boost::filesystem::path GetConfigFile() boost::filesystem::path GetMasternodeConfigFile() { boost::filesystem::path pathConfigFile(GetArg("-mnconf", "masternode.conf")); - if (!pathConfigFile.is_complete()) pathConfigFile = GetDataDir(false) / pathConfigFile; + if (!pathConfigFile.is_complete()) pathConfigFile = GetDataDir() / pathConfigFile; return pathConfigFile; }