function _safeMint(
address to,
uint256 tokenId,
bytes memory data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
Created
October 12, 2022 16:15
-
-
Save m9800/df263cbafa79f98b33f635c54e1c46cb to your computer and use it in GitHub Desktop.
re-entrancy project
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment