Skip to content

Commit 05205ab

Browse files
trevorgjohnsonAmxx
andauthored
Remove deprecated 'ERC20FailedDecreaseAllowance' error (#4604)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 parent 3bd9ed3 commit 05205ab

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Diff for: contracts/token/ERC20/ERC20.sol

-5
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
4141
string private _name;
4242
string private _symbol;
4343

44-
/**
45-
* @dev Indicates a failed `decreaseAllowance` request.
46-
*/
47-
error ERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
48-
4944
/**
5045
* @dev Sets the values for {name} and {symbol}.
5146
*

0 commit comments

Comments
 (0)