Skip to content

Commit

Permalink
chore: fix some function names in comment (#1106)
Browse files Browse the repository at this point in the history
Signed-off-by: fudancoder <[email protected].>
  • Loading branch information
fudancoder authored Jan 15, 2025
1 parent 2eb657d commit bd617a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/amm/keeper/batch_processing.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (k Keeper) GetFirstSwapExactAmountInRequest(ctx sdk.Context, sprefix []byte
return &val, sdk.BigEndianToUint64(key[len(key)-8:])
}

// SetSwapExactAmountInRequests stores swap exact amount out request
// SetSwapExactAmountOutRequests stores swap exact amount out request
func (k Keeper) SetSwapExactAmountOutRequests(ctx sdk.Context, msg *types.MsgSwapExactAmountOut, index uint64) {
store := prefix.NewStore(ctx.TransientStore(k.transientStoreKey), types.KeyPrefix(types.TSwapExactAmountOutKey))
b := k.cdc.MustMarshal(msg)
Expand Down
2 changes: 1 addition & 1 deletion x/amm/keeper/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (k Keeper) GetBestPoolWithDenoms(ctx sdk.Context, denoms []string, usesOrac
return bestPool, !maxTvl.IsNegative()
}

// IterateLiquidty iterates over all LiquidityPools and performs a
// IterateLiquidityPools iterates over all LiquidityPools and performs a
// callback.
func (k Keeper) IterateLiquidityPools(ctx sdk.Context, handlerFn func(pool types.Pool) (stop bool)) {
store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.PoolKeyPrefix))
Expand Down

0 comments on commit bd617a1

Please sign in to comment.