pull/2922/head
soulofmischief 3 years ago committed by GitHub
parent c9bdb1f0ae
commit 9e13852135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contracts/token/ERC1155/extensions/ERC1155Supply.sol

@ -24,7 +24,7 @@ abstract contract ERC1155Supply is ERC1155 {
} }
/** /**
* @dev Indicates weither any token exist with a given id, or not. * @dev Indicates whether any token exist with a given id, or not.
*/ */
function exists(uint256 id) public view virtual returns (bool) { function exists(uint256 id) public view virtual returns (bool) {
return ERC1155Supply.totalSupply(id) > 0; return ERC1155Supply.totalSupply(id) > 0;

Loading…
Cancel
Save