diff --git a/src/LogNormal/LogNormalSolver.sol b/src/LogNormal/LogNormalSolver.sol index aa8802c3..a67de658 100644 --- a/src/LogNormal/LogNormalSolver.sol +++ b/src/LogNormal/LogNormalSolver.sol @@ -219,10 +219,10 @@ contract LogNormalSolver is ISolver { (bool valid,,,,,,,) = IStrategy(strategy).validateSwap( address(this), poolId, pool, swapData ); + return ( valid, state.amountOut, - computePriceGivenX(endReserves.rx, endReserves.L, poolParams), swapData ); }