use require instead if/else #121
Labels
bug
Something isn't working
G (Gas Optimization)
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
rfa
Vulnerability details
Impact
expensive gas
Proof of Concept
https://github.com/code-423n4/2022-01-openleverage/blob/main/openleverage-contracts/contracts/dex/eth/EthDexAggregatorV1.sol#L151-L158
better use
require()
hereTools Used
Recommended Mitigation Steps
The text was updated successfully, but these errors were encountered: