Skip to content

Commit e855ea6

Browse files
authored
Make getApproved constant view
1 parent 2bddd12 commit e855ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EIPS/eip-721.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ interface ERC721 /* is ERC165 */ {
132132
/// @dev Throws if `_tokenId` is not a valid NFT
133133
/// @param _tokenId The NFT to find the approved address for
134134
/// @return The approved address for this NFT, or the zero address if there is none
135-
function getApproved(uint256 _tokenId) external returns (address);
135+
function getApproved(uint256 _tokenId) external view returns (address);
136136
137137
/// @notice Query if an address is an authorized operator for another address
138138
/// @param _owner The address that owns the NFTs

0 commit comments

Comments
 (0)