From 714cdbec27868e1edd0a91a88008469c00cd9bc0 Mon Sep 17 00:00:00 2001 From: Dzmitry Hil Date: Mon, 18 Nov 2024 12:01:49 +0300 Subject: [PATCH] Fix function name --- x/dex/keeper/keeper_matching.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/dex/keeper/keeper_matching.go b/x/dex/keeper/keeper_matching.go index a8dbc4d66..961ed4127 100644 --- a/x/dex/keeper/keeper_matching.go +++ b/x/dex/keeper/keeper_matching.go @@ -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 { @@ -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,