Add support for skip invalid pools.

This commit is contained in:
XMRig
2018-04-25 23:17:27 +07:00
parent e84ea776ac
commit 96b7719e39
7 changed files with 45 additions and 25 deletions

View File

@@ -83,7 +83,7 @@ void xmrig::ConfigWatcher::reload()
IConfig *config = m_creator->create();
ConfigLoader::loadFromFile(config, m_path.data());
if (!config->isValid()) {
if (!config->finalize()) {
LOG_ERR("reloading failed");
delete config;