mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-25 13:42:54 -05:00
Restored compatibility with https://stellite.hashvault.pro.
This commit is contained in:
@@ -342,7 +342,8 @@ bool Client::parseJob(const rapidjson::Value ¶ms, int *code)
|
||||
if (params.HasMember("algo")) {
|
||||
job.setAlgorithm(params["algo"].GetString());
|
||||
}
|
||||
else if (params.HasMember("variant")) {
|
||||
|
||||
if (params.HasMember("variant")) {
|
||||
const rapidjson::Value &variant = params["variant"];
|
||||
|
||||
if (variant.IsInt()) {
|
||||
|
||||
Reference in New Issue
Block a user