Basic algo selection from pool/proxy.

This commit is contained in:
XMRig
2018-04-25 19:09:08 +07:00
parent 45dc9025f8
commit 2ac629a777

View File

@@ -249,6 +249,10 @@ bool Client::parseJob(const rapidjson::Value &params, int *code)
return false;
}
if (params.HasMember("algo")) {
job.algorithm().parseAlgorithm(params["algo"].GetString());
}
if (params.HasMember("variant")) {
job.algorithm().parseVariant(params["variant"].GetInt());
}