UHV-03C: Redundant Comparator
Description:
The comparator used within the while loop can be a strict equality as the greater-than portion will never be satisfied.
Example:
while(position > 0) {
position = position.sub(_noFlashLoan(position, deficit));
if (i >= 6) {
break;
}
i++;
}
Recommendation:
We advise it to be done so to reduce the gas cost of the function.
UHV-03C: Redundant Comparator
Description:
The comparator used within the
whileloop can be a strict equality as the greater-than portion will never be satisfied.Example:
Recommendation:
We advise it to be done so to reduce the gas cost of the function.