Add support for skip invalid pools.

This commit is contained in:
XMRig 2018-04-25 23:17:27 +07:00
parent 230962230f
commit bc2660f509
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;