Gas savings #139
Labels
bug
Something isn't working
G (Gas Optimization)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
csanuragjain
Vulnerability details
Impact
Gas wastage
Proof of Concept
Navigate to contract at https://github.com/code-423n4/2021-12-yetifinance/blob/main/packages/contracts/contracts/Dependencies/YetiCustomBase.sol
Observe that in _subColls function the last for loop is not required if n=0 since this means that all token amount is 0
The text was updated successfully, but these errors were encountered: