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

Error in logic of checkTwice function, will cause it to revert

Summary

the checkTwice function takes in two parameters: the person and status
when the status is to be updated to extranice in the function, the if statement that checks if theListCheckOnce is not equal to the status will always revert.

Vulnerability Details

Logic error

Impact

user status not being updated

Tools Used

Foundry

Recommendations

function logic should be under the if statement that checks if theListChecOnce != status

Updates

Lead Judging Commences

inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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