SantasList::checkTwice function do not function as intended, it could not set user to a new status, which cause user stuck with their s_theListCheckedOnce statusSantasList::checkTwice function should able to changes an address to a new Status! But now if santa makes a mistake on the first check, they can never fix it and the person will be stuck with that status. This is especially bad if they are marked as naughty by mistake.
Likelihood: High
Every time Santa try to set a different status as first time, this SantasList::checkTwice function will revert.
Impact: High
SantasList::checkTwice function should able to changes an address to a new Status! But now if santa makes a mistake on the first check, they can never fix it and the person will be stuck with that status. This is especially bad if they are marked as naughty by mistake.
Santa set user to NAUGHTY
Santa set user to NICE
Check SantasList::checkTwice function will revert
Remove the check and revert code of first time status.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.