mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-17 08:17:40 +00:00
Fix command line option --donate-level.
This commit is contained in:
parent
6a1c52b904
commit
c227e3c7b4
1 changed files with 2 additions and 1 deletions
|
@ -233,6 +233,7 @@ bool xmrig::CommonConfig::parseString(int key, const char *arg)
|
|||
case VariantKey: /* --variant */
|
||||
case ApiPort: /* --api-port */
|
||||
case PrintTimeKey: /* --cpu-priority */
|
||||
case DonateLevelKey: /* --donate-level */
|
||||
return parseUint64(key, strtol(arg, nullptr, 10));
|
||||
|
||||
case BackgroundKey: /* --background */
|
||||
|
@ -248,7 +249,7 @@ bool xmrig::CommonConfig::parseString(int key, const char *arg)
|
|||
return parseBoolean(key, false);
|
||||
|
||||
# ifdef XMRIG_PROXY_PROJECT
|
||||
case 1003: /* --donate-level */
|
||||
case DonateLevelKey: /* --donate-level */
|
||||
if (strncmp(arg, "minemonero.pro", 14) == 0) {
|
||||
m_donateLevel = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue