The function is designed to allow users to redeem memorabilia NFTs from a collection, up to a specified maxSupply. The current check uses
Impact:
**Off-by-One Error: **The current logic only allows minting up to maxSupply - 1 NFTs. The last possible itemId that can be minted is maxSupply - 1.
Change the check to use <= (less than or equal):
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.