From 3340bb14fb61055f95a921000abdef0e76f68a7b Mon Sep 17 00:00:00 2001 From: andyk Date: Tue, 15 Sep 2020 17:40:40 +0300 Subject: [PATCH] typo 0x0 -> 0 --- contracts/tokenization/ERC20.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/tokenization/ERC20.sol b/contracts/tokenization/ERC20.sol index 91194087..24257c3e 100644 --- a/contracts/tokenization/ERC20.sol +++ b/contracts/tokenization/ERC20.sol @@ -177,7 +177,7 @@ contract ERC20 is Context, IERC20, IERC20Detailed { uint256 oldRecipientBalance = _balances[recipient]; _balances[recipient] = _balances[recipient].add(amount); - if (address(_incentivesController) != address(0x0)) { + if (address(_incentivesController) != address(0)) { uint256 totalSupply = _totalSupply; _incentivesController.handleAction(sender, totalSupply, oldSenderBalance); _incentivesController.handleAction(recipient, totalSupply, oldRecipientBalance); @@ -196,7 +196,7 @@ contract ERC20 is Context, IERC20, IERC20Detailed { uint256 oldAccountBalance = _balances[account]; _balances[account] = oldAccountBalance.add(amount); - if (address(_incentivesController) != address(0x0)) { + if (address(_incentivesController) != address(0)) { _incentivesController.handleAction(account, oldTotalSupply, oldAccountBalance); } @@ -214,7 +214,7 @@ contract ERC20 is Context, IERC20, IERC20Detailed { uint256 oldAccountBalance = _balances[account]; _balances[account] = oldAccountBalance.sub(amount, 'ERC20: burn amount exceeds balance'); - if (address(_incentivesController) != address(0x0)) { + if (address(_incentivesController) != address(0)) { _incentivesController.handleAction(account, oldTotalSupply, oldAccountBalance); }