We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d11d941 commit ac3162eCopy full SHA for ac3162e
contracts/utils/SafeERC20.sol
@@ -48,7 +48,7 @@ library SafeERC20 {
48
uint256 value
49
) internal {
50
if ((value != 0) && (token.allowance(address(this), spender) != 0))
51
- revert SafeERC20__ApproveFromNonZeroToZero();
+ revert SafeERC20__ApproveFromNonZeroToNonZero();
52
53
_callOptionalReturn(
54
token,
0 commit comments