--- a/pallets/nonfungible/src/erc.rs +++ b/pallets/nonfungible/src/erc.rs @@ -516,8 +516,8 @@ } /// @notice Get the approved address for a single NFT - /// @dev Throws if `_tokenId` is not a valid NFT - /// @param _tokenId The NFT to find the approved address for + /// @dev Throws if `tokenId` is not a valid NFT + /// @param tokenId The NFT to find the approved address for /// @return The approved address for this NFT, or the zero address if there is none fn get_approved(&self, token_id: U256) -> Result
{ let token = token_id.try_into()?;