Insufficient deadline check on ChristmasDinner::changeParticipationStatus when msg.sender is a participant, allows a participant to change their status after dealine.
The first condition of the if statement lacks a check whether block.timestamp is past deadline. By changing status to false, the funds will be moved to generous donations. However, this might cause significant disruptions to event planning.
Event interruptions as event hosts might need to make other plans than what they had before deadline.
Add this function to ChristmasDinnerTest.t.sol
Manual Review
In ChristmasDinner::changeParticipationStatus function, add a deadline check for when msg.sender is in the participants list.
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.