Even though allowance
and balance
of the msg.sender
was checked before transferFrom, it is still a safe practice for the return value of transferFrom
to be checked
Impact: transferFrom could fail silently, as the return value not checked it could lead request[taskId]
and nextId
would be updated. This way msg.sender
would escape payment to the contract
Recommendations: transferFrom return value should be checked to ensure the transaction was successful before state updates
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.