mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 03:24:26 -08:00
tidy up error msg
This commit is contained in:
@@ -26,7 +26,7 @@ func (k Keeper) AuctionBids(goCtx context.Context, req *types.QueryAuctionBidsRe
|
|||||||
|
|
||||||
bids, err := memdb.BidDB.GetBids(auction.Index)
|
bids, err := memdb.BidDB.GetBids(auction.Index)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("failed to get bids for auction %s:", err)
|
return nil, fmt.Errorf("failed to get bids for auction %s: %s", auction.Index, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return &types.QueryAuctionBidsResponse{Bids: bids}, nil
|
return &types.QueryAuctionBidsResponse{Bids: bids}, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user