Christmas Dinner

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

Participation Status Not Update Upon Call To receive()

Summary

User's participation status is never updated when depositing via eth.

Vulnerability Details

The contract allows users to signup for the event by depositing eth via the receive() function. However, the function never updates the depositor's participation status after payment.

Impact

This means that if a depositor pays via eth they will not be able to attend the event.

Tools Used

Manual review.

Recommendations

Update the receive() function such that a depositor's participation status will be set to true.

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!