We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bf3907 commit 384dff9Copy full SHA for 384dff9
contracts/token/ERC721/ERC721.sol
@@ -200,7 +200,7 @@ contract ERC721 is ERC165, IERC721 {
200
{
201
transferFrom(from, to, tokenId);
202
// solium-disable-next-line arg-overflow
203
- require(_checkAndCallSafeTransfer(from, to, tokenId, _data));
+ require(_checkOnERC721Received(from, to, tokenId, _data));
204
}
205
206
/**
@@ -306,7 +306,7 @@ contract ERC721 is ERC165, IERC721 {
306
* @param _data bytes optional data to send along with the call
307
* @return whether the call correctly returned the expected magic value
308
*/
309
- function _checkAndCallSafeTransfer(
+ function _checkOnERC721Received(
310
address from,
311
address to,
312
uint256 tokenId,
0 commit comments