Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

buyPresent() function comments are misleading

Summary

According to the project contest details

buyPresent: A function that trades 2e18 of SantaToken for an NFT. This function can be called by anyone.

Vulnerability Details

Same function's explanations in comments is as below:
"Buy a present for someone else. This should only be callable by someone who is naughty."

Impact

Misleading and inconsistent comments compared to contest details.

Tools Used

Manual code review

Recommendations

Correct the comments in SantasList.sol

Updates

Lead Judging Commences

inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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