mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-05 10:29:38 +00:00
Disable donation.
This commit is contained in:
parent
b02f4ff163
commit
b9096f2392
2 changed files with 6 additions and 6 deletions
2
donate.h
2
donate.h
|
@ -24,6 +24,6 @@
|
||||||
#ifndef __DONATE_H__
|
#ifndef __DONATE_H__
|
||||||
#define __DONATE_H__
|
#define __DONATE_H__
|
||||||
|
|
||||||
#define DONATE_LEVEL 5
|
#define DONATE_LEVEL 0
|
||||||
|
|
||||||
#endif /* __DONATE_H__ */
|
#endif /* __DONATE_H__ */
|
||||||
|
|
10
options.c
10
options.c
|
@ -370,12 +370,12 @@ static void parse_arg(int key, char *arg) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1003: /* --donate-level */
|
case 1003: /* --donate-level */
|
||||||
v = atoi(arg);
|
// v = atoi(arg);
|
||||||
if (v < 1 || v > 99) {
|
// if (v < 1 || v > 99) {
|
||||||
show_usage_and_exit(1);
|
// show_usage_and_exit(1);
|
||||||
}
|
// }
|
||||||
|
|
||||||
opt_donate_level = v;
|
// opt_donate_level = v;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1021: /* --variant */
|
case 1021: /* --variant */
|
||||||
|
|
Loading…
Reference in a new issue