Renamed internal ERC721 check function. (#1445)

pull/1451/head
Nicolás Venturo 6 years ago committed by GitHub
parent 5bf3907862
commit 384dff9abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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,

Loading…
Cancel
Save