If a user transfers an NFT to the same address (from == to), it causes the wrong NFT to be deleted.
In the hypothetical case where the user has only one NFT (index 0), it would be deleted, and the recently transferred NFT would be popped.
Loss of user funds.
Manual Review
Prevent transfers where from == to.
Likelihood: Low, when users wants to transfer tokens they already own to themselves. Impact: High, funds loss.
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.