Christmas Dinner

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

Inconsistency Between Code and Comment

Summary

User's are unable to signup others for the event which contradicts the contest's details.

Vulnerability Details

On line 108 (and in the contest's details) it mentions that participants can signup friends for the event. However, the code in the deposit() function only allows a user to signup themselves.

Impact

This means that despite the description a user is unable to signup anyone elese but themselves.

Tools Used

Manual review.

Recommendations

Either update the code in deposit() to allow users to signup a friend, or remove the comment.

Updates

Lead Judging Commences

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

Deposit function lacks functionality

Support

FAQs

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

Give us feedback!