LibIncentive.fracExp()
omits one case.
LibIncentive.fracExp()
omits one case.
fracExp()
returns the scaled sunrise reward according to secondsLate
.
But while checking multiple cases, it doesn't return a proper result when secondsLate
is between 239 and 240.
So fracExp()
will return scaledSunriseReward = 0
in this case and users might get no rewards after calling sunrise()
.
Users wouldn't get rewards after calling sunrise()
.
Manual Review
fracExp()
should have one more case for secondsLate
of (238, 240)
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.