First Flight #6: Voting Booth

Beginner FriendlyFoundry
100 EXP
Submission Details
Severity: high
Valid

On calculating the `rewardPerVoter` we divide by the `totalVotes` instead of the `totalVotesFor` which means that the `rewardPerVoter` is lower than expected and some amount is locked

Updates

Lead Judging Commences

0xnevi Lead Judge 10 months ago
Submission Judgement Published
Validated
Assigned finding tags:

VotingBooth._distributeRewards(): Incorrect computation of rewardPerVoter

Support

FAQs

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