Open code423n4 opened 2 years ago
broccolirob
From Openzeppelin docs: "Deprecated. This function has issues similar to the ones found in IERC20.approve, and its usage is discouraged."
Instead, fetch allowance first, then call safeIncreaseAllowance with max - diff.
would consider this non-critical
I agree, there is no security risk ...
Handle
broccolirob
Vulnerability details
From Openzeppelin docs: "Deprecated. This function has issues similar to the ones found in IERC20.approve, and its usage is discouraged."
Recommended Mitigation Steps
Instead, fetch allowance first, then call safeIncreaseAllowance with max - diff.