Rename "cn/xtlv9" to "cn/half".

This commit is contained in:
XMRig 2019-01-13 19:42:27 +07:00
parent 1382857c83
commit 67863a427d
9 changed files with 35 additions and 31 deletions

View file

@ -342,8 +342,7 @@ bool Client::parseJob(const rapidjson::Value &params, int *code)
if (params.HasMember("algo")) {
job.setAlgorithm(params["algo"].GetString());
}
if (params.HasMember("variant")) {
else if (params.HasMember("variant")) {
const rapidjson::Value &variant = params["variant"];
if (variant.IsInt()) {