MINT_HORSE()
calls the _MINT()
function with the totalSupply
storage pointer in parameter.
However, the _MINT()
function assumes that the same paramter is the value of of the total supply (which corresponds to the new token ID).
New horse NFTs will always be minted with the token ID value 0
, since TOTAL_SUPPLY
is defined in the first storage slot. Therefore, it won't be possible to mint more than one horse NFT.
Cannot mint more than one horse NFT
Call _MINT with totalSupply value instead of storage pointer
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.