From 67e9873dff4ffa4de02fa368ccf07c124d8c6b81 Mon Sep 17 00:00:00 2001 From: grandfather Date: Tue, 21 Jan 2025 23:09:56 +0100 Subject: [PATCH] Fix typos in server.go Signed-off-by: grandfather --- x/market/handler/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/market/handler/server.go b/x/market/handler/server.go index f96defcf1c..d47221ecf6 100644 --- a/x/market/handler/server.go +++ b/x/market/handler/server.go @@ -32,10 +32,10 @@ func (ms msgServer) CreateBid(goCtx context.Context, msg *types.MsgCreateBid) (* minDeposit := params.BidMinDeposit if msg.Deposit.Denom != minDeposit.Denom { - return nil, fmt.Errorf("%w: mininum:%v received:%v", types.ErrInvalidDeposit, minDeposit, msg.Deposit) + return nil, fmt.Errorf("%w: minimum:%v received:%v", types.ErrInvalidDeposit, minDeposit, msg.Deposit) } if minDeposit.Amount.GT(msg.Deposit.Amount) { - return nil, fmt.Errorf("%w: mininum:%v received:%v", types.ErrInvalidDeposit, minDeposit, msg.Deposit) + return nil, fmt.Errorf("%w: minimum:%v received:%v", types.ErrInvalidDeposit, minDeposit, msg.Deposit) } if ms.keepers.Market.BidCountForOrder(ctx, msg.Order) > params.OrderMaxBids {