Rename "cn/xtlv9" to "cn/half".
This commit is contained in:
parent
1382857c83
commit
67863a427d
9 changed files with 35 additions and 31 deletions
|
@ -342,8 +342,7 @@ bool Client::parseJob(const rapidjson::Value ¶ms, 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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue