Wrong winner emitted with Battle
event in RapBattle
contract
In case if random
equals defenderRapperSkill
msg.sender
become winner for event but they will loose tokens because they didn't defeat defender according function logic
On frontend it could lead to misunderstanding for challenger
Manual testing with Remix
Change <
to <=
in the line 76 in RapBattle
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.