Description:
If a participant changes plans and decides not to attend a dinner, he will ask a ChristmasDinner::refund() (before the deadline). The participant list should reflect the refund decision that implies the participant will not attend the dinner.
The function ChristmasDinner::refund() should update the participant attendance in the dinner.
Impact:
Likelyhood - High, it is normal for people to change opinions. To facilitate the organization of the dinner and its cost, the participant list should be as accurate as possible.
Impact - Medium/low, no funds are lost, its functionality is slightly affected.
Proof of Concept:
The participant list should reflect the fact that user1 whithdrew all the funds that confirmed his appearence in the dinner.
But the participant list still expects user1 to attend the dinner.
Recommended Mitigation:
After a refund, the user in participant list should be set to false.
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.