Gas: Explicit overflow checks even though solidity 0.8 is used (2) #75
Labels
bug
Warden finding
G (Gas Optimization)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
cmichel
Vulnerability details
The
UToken
contract uses solidity version 0.8 which already comes with implicit overflow checks.The explicit overflow checks in
removeReserves
can be removed:The text was updated successfully, but these errors were encountered: