Skip to content

Commit

Permalink
fix lognormal solver return tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
kinrezC committed Apr 26, 2024
1 parent 8d00880 commit e609d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LogNormal/LogNormalSolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
Expand Down

0 comments on commit e609d68

Please sign in to comment.