Fix for donate level.

This commit is contained in:
XMRig 2017-04-26 18:05:04 +03:00
parent 8dda8d293b
commit 3de7983826

View file

@ -389,10 +389,6 @@ void parse_cmdline(int argc, char *argv[]) {
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)) {
applog(LOG_ERR, "Cryptonight hash self-test failed. This might be caused by bad compiler optimizations.");
proper_exit(1);