returnIfBelowMin should be used when lpTokenSupply is less than the minimum supply but it's used wrongly.
In _capLpTokenSupply(), returnIfBelowMin is used when lpTokenSupply is greater than maxLpTokenSupply.
According to the param's name, it should be used when lpTokenSupply is less than minLpTokenSupply in the else if clause.
_capLpTokenSupply() wouldn't work as intended because returnIfBelowMin is used in the wrong place.
Manual Review
returnIfBelowMin should be checked when lpTokenSupply < minLpTokenSupply.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.