From 42da4d68674d3e3ba24ed32fc2834fc3a81731f7 Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Wed, 18 Nov 2020 18:54:09 -0300 Subject: [PATCH] Fix name of argument in docstring Fixes #2410 --- contracts/token/ERC1155/ERC1155.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/token/ERC1155/ERC1155.sol b/contracts/token/ERC1155/ERC1155.sol index b1052f670..fa849009b 100644 --- a/contracts/token/ERC1155/ERC1155.sol +++ b/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 {