Unverified Commit 384dff9a by Nicolás Venturo Committed by GitHub

Renamed internal ERC721 check function. (#1445)

parent 5bf39078
...@@ -200,7 +200,7 @@ contract ERC721 is ERC165, IERC721 { ...@@ -200,7 +200,7 @@ contract ERC721 is ERC165, IERC721 {
{ {
transferFrom(from, to, tokenId); transferFrom(from, to, tokenId);
// solium-disable-next-line arg-overflow // 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 { ...@@ -306,7 +306,7 @@ contract ERC721 is ERC165, IERC721 {
* @param _data bytes optional data to send along with the call * @param _data bytes optional data to send along with the call
* @return whether the call correctly returned the expected magic value * @return whether the call correctly returned the expected magic value
*/ */
function _checkAndCallSafeTransfer( function _checkOnERC721Received(
address from, address from,
address to, address to,
uint256 tokenId, uint256 tokenId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment