From 3de798382686251a491b2c2cfd5094506f11b14c Mon Sep 17 00:00:00 2001 From: XMRig Date: Wed, 26 Apr 2017 18:05:04 +0300 Subject: [PATCH] Fix for donate level. --- options.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/options.c b/options.c index 3e2c08bf4..6a62dd45b 100644 --- a/options.c +++ b/options.c @@ -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);