Calling isHappyHorse for an inexistent horseId returns false, as it would exist.
isHappyHorse can be called for an inexistent horseId and returns false giving the false impression that the horse NFT exists.
Low - one could mistype the ID and would then feed his horse although that would not be necessary.
Manual review
Revert with a meaningful error if the horse Id does not exist.
if (horseId >= totalSupply()) {
revert MissingHorseId();
}
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.