diff --git a/x/marketplace/keeper/bid.go b/x/marketplace/keeper/bid.go index 47131cc..f698e3f 100644 --- a/x/marketplace/keeper/bid.go +++ b/x/marketplace/keeper/bid.go @@ -68,6 +68,6 @@ func (k Keeper) GetBidsByBidder(ctx sdk.Context, bidder sdk.AccAddress) (bids [] } func (k Keeper) HasBid(ctx sdk.Context, id uint64) bool { - store := ctx.KVStore(k.storeKey) + store := prefix.NewStore(ctx.KVStore(k.storeKey), types.PrefixBidByAuctionId) return store.Has(types.KeyBidPrefix(id)) }