UniswapHandler - Unneccessary safe math usage #338
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
G (Gas Optimization)
Handle
ScopeLift
Vulnerability details
Impact
Gas can be saved inside the
addLiquidity
function by avoiding the usage of safe math where the overflow condition has already been checked via conditional.Proof of Concept
N/A
Tools Used
N/A
Recommended Mitigation Steps
Update amounts used in transfer calls to use unchecked subtraction:
The text was updated successfully, but these errors were encountered: