Submitted by cmichel
The ConcentratedLiquidityPool.mint/burn functions add/remove liquidity when (priceLower < currentPrice && currentPrice < priceUpper).
Shouldnt it also be changed if priceLower == currentPrice?
Pools that mint/burn liquidity at a time where the currentPrice is right at the lower price range do not work correctly and will lead to wrong swap amounts.
Change the inequalities to if (priceLower <= currentPrice && currentPrice < priceUpper).
sarangparikh22 (Sushi) disputed:
alcueca (judge) commented:
sarangparikh22 (Sushi) confirmed:
alcueca (judge) commented:
