From dc14c72e534183c20459e0cf47f00b59afb17a66 Mon Sep 17 00:00:00 2001 From: hamiltoncyber <109494590+hamiltoncyber@users.noreply.github.com> Date: Wed, 24 Aug 2022 23:07:35 +0800 Subject: [PATCH] Update comment for _beforeTokenTransfer (#3586) --- contracts/token/ERC721/extensions/ERC721Enumerable.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/token/ERC721/extensions/ERC721Enumerable.sol b/contracts/token/ERC721/extensions/ERC721Enumerable.sol index 46afd5d0b..4c8a65c50 100644 --- a/contracts/token/ERC721/extensions/ERC721Enumerable.sol +++ b/contracts/token/ERC721/extensions/ERC721Enumerable.sol @@ -64,8 +64,7 @@ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. - * - `from` cannot be the zero address. - * - `to` cannot be the zero address. + * - `from` and 'to' cannot be the zero address at the same time. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */