Santalist.buyPresent
comment does not match the code.
The comment says that the caller can buy a present for someone else (presentReceiver
). But the code allows the user to buy present for himself
by burning the presentReceiver
token.
Also, according to the comment, the function can only be called by someone who is naughty. But there is no check for that.
Mislead users.
Manual review.
Rewrite the comment to match the code.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.