Remove throw condition for setApprovalForAll.

And tweak the description to more clearly indicate its difference from the other, per-NFT operations.
This commit is contained in:
Fang 2018-03-16 21:53:36 +01:00 committed by GitHub
parent c0a9feb7a5
commit 4cf57f5dba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -122,8 +122,7 @@ interface ERC721 /* is ERC165 */ {
function approve(address _approved, uint256 _tokenId) external payable;
/// @notice Enable or disable approval for a third party ("operator") to manage
/// all your assets.
/// @dev Throws unless `msg.sender` is the current NFT owner.
/// all of `msg.sender`'s assets.
/// @dev Emits the ApprovalForAll event
/// @param _operator Address to add to the set of authorized operators.
/// @param _approved True if the operators is approved, false to revoke approval