From ee9538ab226b372e2919283648f55181846f8945 Mon Sep 17 00:00:00 2001 From: XMRig Date: Tue, 2 Jul 2019 22:38:09 +0700 Subject: [PATCH] Fixed, client was stuck on some pools. --- src/base/net/stratum/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/net/stratum/Client.cpp b/src/base/net/stratum/Client.cpp index 7ee0228b4..c07f23697 100644 --- a/src/base/net/stratum/Client.cpp +++ b/src/base/net/stratum/Client.cpp @@ -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()); } - if (isCriticalError(message)) { + if (m_id == 1 || isCriticalError(message)) { close(); }