Skip to content

Commit 384dff9

Browse files
authored
Renamed internal ERC721 check function. (#1445)
1 parent 5bf3907 commit 384dff9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/token/ERC721/ERC721.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ contract ERC721 is ERC165, IERC721 {
200200
{
201201
transferFrom(from, to, tokenId);
202202
// solium-disable-next-line arg-overflow
203-
require(_checkAndCallSafeTransfer(from, to, tokenId, _data));
203+
require(_checkOnERC721Received(from, to, tokenId, _data));
204204
}
205205

206206
/**
@@ -306,7 +306,7 @@ contract ERC721 is ERC165, IERC721 {
306306
* @param _data bytes optional data to send along with the call
307307
* @return whether the call correctly returned the expected magic value
308308
*/
309-
function _checkAndCallSafeTransfer(
309+
function _checkOnERC721Received(
310310
address from,
311311
address to,
312312
uint256 tokenId,

0 commit comments

Comments
 (0)