Fixed, client was stuck on some pools.

This commit is contained in:
XMRig 2019-07-02 22:38:09 +07:00
parent 02410fa084
commit ee9538ab22

View file

@ -739,7 +739,7 @@ void xmrig::Client::parseResponse(int64_t id, const rapidjson::Value &result, co
LOG_ERR("[%s] error: " RED_BOLD("\"%s\"") RED_S ", code: %d", url(), message, error["code"].GetInt()); LOG_ERR("[%s] error: " RED_BOLD("\"%s\"") RED_S ", code: %d", url(), message, error["code"].GetInt());
} }
if (isCriticalError(message)) { if (m_id == 1 || isCriticalError(message)) {
close(); close();
} }