ChoosingRam::isRamSelected is not being updated in ChoosingRam::increaseValuesOfParticipantsafter the Ram has been selected.
After ChoosingRam::selectedRam variable is updated to the address of the winner, the ChoosingRam::isRamSelected is not being set to true, which leads to several issues.
The organizer would be able to call ChoosingRam::selectRamIfNotSelected and the participants would be able to call ChoosingRam::increaseValuesOfParticipants even if the Ram has been actually selected, moreover, the Ram won't be able to call Dussehra::killRavana and withdraw their reward after.
Manual Review
Set isRamSelected to true, after the Ram has been chosen
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.