stopEvent
function is not updating the _participants
mapping which is causing the getParticipants
function to return incorrect data and also interfering with the upcoming events.
if a user is participating in the first event. then the user can't able to participate in the upcoming events because the stopEvent
function is not updating the _participants
mapping.
After calling the stopEvent
function, the user can't get the correct data of the participants
put this test in MartenitsaEvent.t.sol
Run test by using the following command
A user can't able to participate in the upcoming events
A user can't get the correct data of the participants
Manual review
Update this function in MartenitsaEvent.sol
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.