Judge has assessed an item in Issue #463 as Medium risk. The relevant finding follows:
Ignores return value of onERC721Received
The try block should include a check to make sure the function returns its selector as specified by IERC721Receiver. While the function may have the same parameters as the standard, its return value may differ, a signal that the receiving smart contract has not properly implemented IERC721Receiver.
Instances include:
<https://github.com/code-423n4/2022-07-golom/blob/main/contracts/vote-escrow/VoteEscrowCore.sol#L604>
The text was updated successfully, but these errors were encountered:
All reactions