The function updates the state for the horse id even though the horse id doesn't exist.
The vulnerability arises due to the missing revert conditions when the horse id doesn't exist.
Even though if the horse id doesn't exist it updates the state.
Unnecessary updations even though horse id doesn't exist
Manual Review
Add a revert condition if token id doesn't exist in both the functions.
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.