ChoosingRam::increaseValuesOfParticipants
check for tokenIdOfChallenger
allows the user to enter not existing tokenId.
Let's say, there are only 2 NFTs created for now. After each NFT creation, the tokeCounter increases its value by 1, therefore, after that the tokenCounter
will equal 2
.
The first NFT created will be with tokenId equal to 0
The second NFT created will be with tokenId equal to 1
So if a user decides to call ChoosingRam::increaseValuesOfParticipants
with 2
as an argument for tokenIdOfChallenger
, the check below will pass, although, such a NFT token does not exist.
The first check of the function can be bypassed.
Manual review
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.