diff --git a/src/common/net/Client.cpp b/src/common/net/Client.cpp index 0576854bd..9a2b8b1b1 100644 --- a/src/common/net/Client.cpp +++ b/src/common/net/Client.cpp @@ -249,6 +249,10 @@ bool Client::parseJob(const rapidjson::Value ¶ms, int *code) return false; } + if (params.HasMember("algo")) { + job.algorithm().parseAlgorithm(params["algo"].GetString()); + } + if (params.HasMember("variant")) { job.algorithm().parseVariant(params["variant"].GetInt()); }