MartenitsaVoting:voteForMartenitsa
producer can vote for himself during a vote event. After listing any producer is able to vote for his martenitsa token.
voteForMartenitsa
function don't check if the caller is a producer as demonstrated in the test bellow just after listing his token chasy who is a producer is able to vote for his martenitsa token.
Vote system can be unfair because producer can vote for its creations.
Manuel review
Check if caller is a producer if yes revert the transaction, add an interface to access to isProducer and refactor the constructor of MartenitsaVoting contract
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.