First Flight #20: The Predicter

Beginner FriendlyFoundry
100 EXP
Submission Details
Severity: medium
Valid

`ThePredicter.sol::withdraw` Will fail if all participants have a score of zero and nobody can withdraw anything

Updates

Lead Judging Commences

NightHawK Lead Judge 3 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Possible maxScore of zero is not accounted

The checks related to maxScore do not account possible maxScore of zero leading to stuck funds or a division by zero error.

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.