mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Fix for -a cryptonight-light
.
This commit is contained in:
parent
6551818610
commit
9dc02fc7f3
1 changed files with 1 additions and 5 deletions
|
@ -175,14 +175,10 @@ static void parse_arg(int key, char *arg) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifndef XMRIG_NO_AEON
|
# ifndef XMRIG_NO_AEON
|
||||||
if (i == ARRAY_SIZE(algo_names) && !strcmp(arg, "cryptonight-light")) {
|
if (i == ARRAY_SIZE(algo_names) - 1 && !strcmp(arg, "cryptonight-light")) {
|
||||||
opt_algo = i = ALGO_CRYPTONIGHT_LITE;
|
opt_algo = i = ALGO_CRYPTONIGHT_LITE;
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
if (i == ARRAY_SIZE(algo_names)) {
|
|
||||||
show_usage_and_exit(1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue