#519 Fix donation start time randomization.

This commit is contained in:
XMRig 2018-04-08 22:19:21 +07:00
parent eb56c2b56e
commit de83cfd53c
3 changed files with 13 additions and 8 deletions

View file

@ -349,7 +349,7 @@ bool xmrig::CommonConfig::parseInt(int key, int arg)
break;
case DonateLevelKey: /* --donate-level */
if (arg >= kMinDonateLevel && arg <= 99) {
if (arg >= kMinimumDonateLevel && arg <= 99) {
m_donateLevel = arg;
}
break;