mirror of
https://github.com/xmrig/xmrig.git
synced 2025-03-24 08:08:58 +00:00
Update EthStratumClient.cpp
This commit is contained in:
parent
9864ba8696
commit
4edcaa03be
1 changed files with 4 additions and 2 deletions
|
@ -250,8 +250,10 @@ void EthStratumClient::parseNotification(const char* method, const rapidjson::Va
|
||||||
bool ok = true;
|
bool ok = true;
|
||||||
m_listener->onVerifyAlgorithm(this, algo, &ok);
|
m_listener->onVerifyAlgorithm(this, algo, &ok);
|
||||||
|
|
||||||
if (!ok && !isQuiet()) {
|
if (!ok) {
|
||||||
LOG_ERR("[%s] incompatible/disabled algorithm \"%s\" detected, reconnect", url(), algo.shortName());
|
if (!isQuiet()) {
|
||||||
|
LOG_ERR("[%s] incompatible/disabled algorithm \"%s\" detected, reconnect", url(), algo.shortName());
|
||||||
|
}
|
||||||
disconnect();
|
disconnect();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue