Skip to content

Commit

Permalink
fix: fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 authored Aug 25, 2022
1 parent f7f85ab commit 745b240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/marketplace/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func (k Keeper) CreateAuctionListing(ctx sdk.Context, auction types.AuctionListi
func (k Keeper) CancelAuctionListing(ctx sdk.Context, auction types.AuctionListing) error {
// Check bid Exists or Not
if k.HasBid(ctx, auction.Id) {
return sdkerrors.Wrapf(types.ErrBidExists, "cannot cancel auction %s, bid exists ", auction.Id)
return sdkerrors.Wrapf(types.ErrBidExists, "cannot cancel auction %d, bid exists ", auction.Id)
}

// Transfer Back NFT ownership to auction owner
Expand Down

0 comments on commit 745b240

Please sign in to comment.