From 319afebdc041c6c6eac4c278f9e2df6d4eeffa27 Mon Sep 17 00:00:00 2001 From: Iskander <36774944+iskanderandrews@users.noreply.github.com> Date: Mon, 3 May 2021 21:54:23 +0200 Subject: [PATCH] Fix typo in ERC20._mint docs (#2648) --- contracts/token/ERC20/ERC20.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/token/ERC20/ERC20.sol b/contracts/token/ERC20/ERC20.sol index 1cd2ae9d4..8fe589d7c 100644 --- a/contracts/token/ERC20/ERC20.sol +++ b/contracts/token/ERC20/ERC20.sol @@ -229,7 +229,7 @@ contract ERC20 is Context, IERC20, IERC20Metadata { * * Requirements: * - * - `to` cannot be the zero address. + * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address");