When a voter calls "function vote" with a provided parameter for "voteInput", he will be counted to the "for" list even if he voted "against"
In the function "vote" there is an "if" statement that is supposed to separate the "for" and "against" voters and push their address to the respected list, however this fails since the "if" statement only checks if the caller has provided a "voteInput", not what is that input. So even if a voter has voted against his address will still be added to "s_votersFor".
Unfair voting since the outcome of every vote will be "for".
Manual review
Change the current "if" statement or add a new one that checks if the "voteInput" is for or against.
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.