Christmas Dinner

First Flight #31
Beginner FriendlyFoundrySolidity
100 EXP
View results
Submission Details
Severity: medium
Valid

When the user deposits in ETH, the value of participant[user] is not set to true. Therefore, the user cannot become the host

Description: When the user deposits in ETH, the value of participant[user] is not set to true. Therefore, the user cannot become the host.

Recommended Mitigation: Set participant[msg.sender] = true at receive() function.

Updates

Lead Judging Commences

0xtimefliez Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

receive does not update participation status

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!