Duplicate check of supported token on flash loan #160
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
pauliax
Vulnerability details
Impact
function flashLoan does not necesseraly need this check:
require(_token == address(this), "!supported");
as it will be later checked again in function flashFee.
Recommended Mitigation Steps
Consider removing it to reduce gas usage.
The text was updated successfully, but these errors were encountered: