mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-17 08:17:40 +00:00
Fix for donate level.
This commit is contained in:
parent
8dda8d293b
commit
3de7983826
1 changed files with 0 additions and 4 deletions
|
@ -389,10 +389,6 @@ void parse_cmdline(int argc, char *argv[]) {
|
||||||
opt_algo_variant = get_algo_variant(0);
|
opt_algo_variant = get_algo_variant(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opt_donate_level < 1 || opt_donate_level > 99) {
|
|
||||||
opt_donate_level = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!cryptonight_init(opt_algo_variant)) {
|
if (!cryptonight_init(opt_algo_variant)) {
|
||||||
applog(LOG_ERR, "Cryptonight hash self-test failed. This might be caused by bad compiler optimizations.");
|
applog(LOG_ERR, "Cryptonight hash self-test failed. This might be caused by bad compiler optimizations.");
|
||||||
proper_exit(1);
|
proper_exit(1);
|
||||||
|
|
Loading…
Reference in a new issue