Browse Source

Fix name of argument in docstring

Fixes #2410
Francisco Giordano 4 years ago
parent
commit
42da4d6867
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/token/ERC1155/ERC1155.sol

+ 1 - 1
contracts/token/ERC1155/ERC1155.sol

@@ -237,7 +237,7 @@ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
      * Requirements:
      *
      * - `account` cannot be the zero address.
-     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
+     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
      * acceptance magic value.
      */
     function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual {