We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this a redundant function? When it is implemented, is there a security issue?
/** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); }
When we enter the core _approve function with false as approvalCheck, it's so dangerous. Why is there so implementation in contract?
_approve
approvalCheck
The text was updated successfully, but these errors were encountered:
Note that this function is internal.
It is for devs who may want to do their on custom checks instead of using the default check.
Sorry, something went wrong.
Thanks, i'll close it.
No branches or pull requests
Is this a redundant function? When it is implemented, is there a security issue?
When we enter the core
_approve
function with false asapprovalCheck
, it's so dangerous. Why is there so implementation in contract?The text was updated successfully, but these errors were encountered: