chore: fix error message

This commit is contained in:
aleem1314 2023-03-14 12:00:29 +05:30
parent c72302d078
commit 8a575110bf

View File

@ -341,7 +341,7 @@ func (k Keeper) CreateAuction(ctx sdk.Context, msg types.MsgCreateAuction) (*typ
func (k Keeper) CommitBid(ctx sdk.Context, msg types.MsgCommitBid) (*types.Bid, error) {
if !k.HasAuction(ctx, msg.AuctionId) {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, "Auction not found.")
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, "auction not found")
}
auction := k.GetAuction(ctx, msg.AuctionId)