mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-06 23:52:38 -05:00
Add GhostRider support for AutoClient.
This commit is contained in:
@@ -50,7 +50,7 @@ bool xmrig::AutoClient::parseLogin(const rapidjson::Value &result, int *code)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Algorithm algo(Json::getString(result, "algo"));
|
const Algorithm algo(Json::getString(result, "algo"));
|
||||||
if (algo.family() != Algorithm::KAWPOW) {
|
if (algo.family() != Algorithm::KAWPOW && algo.family() != Algorithm::GHOSTRIDER) {
|
||||||
*code = 6;
|
*code = 6;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user