File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ contract ERC20 is IERC20 {
171171 * @param value The amount that will be created.
172172 */
173173 function _mint (address account , uint256 value ) internal {
174- require (account != 0 );
174+ require (account != address ( 0 ) );
175175 _totalSupply = _totalSupply.add (value);
176176 _balances[account] = _balances[account].add (value);
177177 emit Transfer (address (0 ), account, value);
@@ -184,7 +184,7 @@ contract ERC20 is IERC20 {
184184 * @param value The amount that will be burnt.
185185 */
186186 function _burn (address account , uint256 value ) internal {
187- require (account != 0 );
187+ require (account != address ( 0 ) );
188188 require (value <= _balances[account]);
189189
190190 _totalSupply = _totalSupply.sub (value);
You can’t perform that action at this time.
0 commit comments