diff --git a/x/gamm/keeper/swap.go b/x/gamm/keeper/swap.go index 3ef7a466a26..f048784c269 100644 --- a/x/gamm/keeper/swap.go +++ b/x/gamm/keeper/swap.go @@ -92,7 +92,7 @@ func (k Keeper) SwapExactAmountOut( return k.swapExactAmountOut(ctx, sender, pool, tokenInDenom, tokenInMaxAmount, tokenOut, swapFee) } -// swapExactAmountIn is an internal method for swapping to get an exact number of tokens out of a pool, +// swapExactAmountOut is an internal method for swapping to get an exact number of tokens out of a pool, // using the provided swapFee. // This is intended to allow different swap fees as determined by multi-hops, // or when recovering from chain liveness failures.