Skip to content

Commit 2a23458

Browse files
Transpile 06449fe7
1 parent f960f47 commit 2a23458

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

contracts/token/ERC721/ERC721Upgradeable.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,9 @@ abstract contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165
220220

221221
/**
222222
* @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.
223-
* Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets
224-
* the `spender` for the specific `tokenId`.
223+
* Reverts if:
224+
* - `spender` does not have approval from `owner` for `tokenId`.
225+
* - `spender` does not have approval to manage all of `owner`'s assets.
225226
*
226227
* WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
227228
* assumption.

0 commit comments

Comments
 (0)