Browse Source

Remove deprecated 'ERC20FailedDecreaseAllowance' error (#4604)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Trevor Johnson 2 years ago
parent
commit
05205ab2e1
1 changed files with 0 additions and 5 deletions
  1. 0 5
      contracts/token/ERC20/ERC20.sol

+ 0 - 5
contracts/token/ERC20/ERC20.sol

@@ -41,11 +41,6 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
     string private _name;
     string private _symbol;
 
-    /**
-     * @dev Indicates a failed `decreaseAllowance` request.
-     */
-    error ERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
-
     /**
      * @dev Sets the values for {name} and {symbol}.
      *