Token Id pushed possibly multiple times as part of the vote count
Token ID being pushed into _tokenIds
array whenever a vote for the token Id is counted
Counting votes and deciding the winner will be very gas consuming since the _tokenIds
array will be much longer than required
Manual review
Do a check whethertokenId
is already in the _tokenIds
array before pushing
replace line 51 with:
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.