Merge pull request #933 from Fang-/patch-1

EIP-721: Remove throw condition for setApprovalForAll.
This commit is contained in:
Nick Savers 2018-03-18 19:27:19 +01:00 committed by GitHub
commit 6f56245464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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