From 7ddbfe181ee84c56215401c2de4ddd5767b4974e Mon Sep 17 00:00:00 2001 From: Nicolas Bayle <92452440+Niceural@users.noreply.github.com> Date: Mon, 25 Jul 2022 22:42:13 +0200 Subject: [PATCH] Add access control comment for ERC721 _burn function (#3576) * Added access control comment for ERC721 _burn function * Update contracts/token/ERC721/ERC721.sol Co-authored-by: Hadrien Croubois * Update contracts/token/ERC721/ERC721.sol Co-authored-by: Francisco Co-authored-by: Hadrien Croubois Co-authored-by: Francisco --- contracts/token/ERC721/ERC721.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/token/ERC721/ERC721.sol b/contracts/token/ERC721/ERC721.sol index f457cef5e..e33d2c794 100644 --- a/contracts/token/ERC721/ERC721.sol +++ b/contracts/token/ERC721/ERC721.sol @@ -293,6 +293,7 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. + * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: *