Remove deprecated 'ERC20FailedDecreaseAllowance' error (#4604)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
Trevor Johnson
2023-09-14 11:49:04 -05:00
committed by GitHub
parent 3bd9ed377e
commit 05205ab2e1

View File

@ -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}.
*