From 384dff9abeee277f3357b8c472ef38a5ec825df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Venturo?= Date: Thu, 18 Oct 2018 16:56:58 -0300 Subject: [PATCH] Renamed internal ERC721 check function. (#1445) --- contracts/token/ERC721/ERC721.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/token/ERC721/ERC721.sol b/contracts/token/ERC721/ERC721.sol index eeee146e2..3dc243874 100644 --- a/contracts/token/ERC721/ERC721.sol +++ b/contracts/token/ERC721/ERC721.sol @@ -200,7 +200,7 @@ contract ERC721 is ERC165, IERC721 { { transferFrom(from, to, tokenId); // solium-disable-next-line arg-overflow - require(_checkAndCallSafeTransfer(from, to, tokenId, _data)); + require(_checkOnERC721Received(from, to, tokenId, _data)); } /** @@ -306,7 +306,7 @@ contract ERC721 is ERC165, IERC721 { * @param _data bytes optional data to send along with the call * @return whether the call correctly returned the expected magic value */ - function _checkAndCallSafeTransfer( + function _checkOnERC721Received( address from, address to, uint256 tokenId,