Browse Source

Remove deprecated 'ERC20FailedDecreaseAllowance' error (#4604)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Trevor Johnson 2 năm trước cách đây
mục cha
commit
05205ab2e1
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  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}.
      *