Merge pull request #784 from UdjinM6/fixMasternodeConfRead

fix CMasternodeConfig::read()
This commit is contained in:
Holger Schinzel 2016-05-20 06:01:32 +02:00
commit 95224abf8e

View File

@ -20,7 +20,7 @@ bool CMasternodeConfig::read(std::string& strErr) {
boost::filesystem::path pathMasternodeConfigFile = GetMasternodeConfigFile();
boost::filesystem::ifstream streamConfig(pathMasternodeConfigFile);
LogPrintf("loading masternode file at %s\n", pathMasternodeConfigFile.c_str());
LogPrintf("loading masternode file at %s\n", pathMasternodeConfigFile.string());
if (!streamConfig.good()) {
FILE* configFile = fopen(pathMasternodeConfigFile.string().c_str(), "a");