See detail
As seen here, when depositing an NFT into escrow, the escrow
mapping is set via:
Then when withdrawing the NFT, here is the logic for transferring a escrowed token back to a user.
It does not reset the value of the escrow
mapping, so the old state persists.
Whenever reading from the contract's state, the escrow
mapping will be incorrect for a particular NFT.
Manual Review
Consider updating the escrow
mapping as follows:
Impact: Incorrect state without any other impact, which deserves a Low according to CodeHawks documentation.
Impact: Incorrect state without any other impact, which deserves a Low according to CodeHawks documentation.
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.