Underflow might occur while calculating the notHarvestable
The function rewardToHarvestable()
is used to distributes Beans to the Field. The next amount
Pods in the Pod Line become Harvestable. The issue is when calcuting the notHarvestable
, it might underflow if s.f.pods < s.f.harvestable;
and return an unexpected huge value.
rewardToHarvestable will be highly inflated.
Manual Review
Make sure the s.f.pods > s.f.harvestable;
is done before performing the substraction.
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.