In RapBattle::emit Battle
wrong condition is used to check for winner. it uses if less than <
which does not include if random
is equal to defenderRapperSkills
. This does not correspond with the later logic which include less than or equal. cause lets say when random
and defenderRapperSkills
are equal the winner emitted by the event will be the challenger
instead of defender
. whereas the logic while transfering the prize will be the _defender
.
Event emission is incorrect, leading to off-chain functions potentially malfunctioning.
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.