Commit 3866c3ef by yuyongpeng

update private

parent 772f10d7
...@@ -395,7 +395,7 @@ contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeab ...@@ -395,7 +395,7 @@ contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeab
address to, address to,
uint256 tokenId, uint256 tokenId,
bytes memory _data bytes memory _data
) private returns (bool) { ) internal returns (bool) {
if (to.isContract()) { if (to.isContract()) {
try IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { try IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721ReceiverUpgradeable.onERC721Received.selector; return retval == IERC721ReceiverUpgradeable.onERC721Received.selector;
......
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