Add GhostRider support for AutoClient.

This commit is contained in:
XMRig 2021-11-25 17:44:36 +07:00
parent cb5f4a9c17
commit ecceba8ecd
No known key found for this signature in database
GPG key ID: 446A53638BE94409

View file

@ -50,7 +50,7 @@ bool xmrig::AutoClient::parseLogin(const rapidjson::Value &result, int *code)
}
const Algorithm algo(Json::getString(result, "algo"));
if (algo.family() != Algorithm::KAWPOW) {
if (algo.family() != Algorithm::KAWPOW && algo.family() != Algorithm::GHOSTRIDER) {
*code = 6;
return false;
}