Skip to content

Commit

Permalink
Fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitryhil committed Nov 18, 2024
1 parent adc5f4d commit 714cdbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/dex/keeper/keeper_matching.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (k Keeper) matchRecords(
makerAddr, recordToClose.OrderID, recordToReduceReceiveCoin,
)

lockedCoins, expectedToReceiveCoin, err := k.getMakerLockerAndExpectedToReceiveCoins(
lockedCoins, expectedToReceiveCoin, err := k.getMakerLockedAndExpectedToReceiveCoins(
ctx, recordToReduceReceiveCoin, recordToClose, recordToCloseRemainingQuantity, recordToCloseReceiveCoin,
)
if err != nil {
Expand Down Expand Up @@ -239,7 +239,7 @@ func (k Keeper) matchRecords(
return true, nil
}

func (k Keeper) getMakerLockerAndExpectedToReceiveCoins(
func (k Keeper) getMakerLockedAndExpectedToReceiveCoins(
ctx sdk.Context,
recordToReduceReceiveCoin sdk.Coin,
recordToClose *types.OrderBookRecord,
Expand Down

0 comments on commit 714cdbe

Please sign in to comment.