Skip to content

Commit

Permalink
#207 Removed debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
lxgr-linux committed Feb 11, 2024
1 parent a7236b6 commit 98a4f2f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions x/cardchain/keeper/grpc_query_q_cards.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package keeper
import (
"context"
"encoding/json"
"fmt"
"slices"
"sort"
"strconv"
Expand Down Expand Up @@ -37,8 +36,6 @@ func (k Keeper) QCards(goCtx context.Context, req *types.QueryQCardsRequest) (*t

ctx := sdk.UnwrapSDKContext(goCtx)

fmt.Printf("---> Hier: %#v\n", req)

checkName := func(cardName cardobject.CardName) bool {
if req.NameContains != "" && !strings.Contains(strings.ToLower(string(cardName)), strings.ToLower(req.NameContains)) {
return false
Expand All @@ -52,7 +49,6 @@ func (k Keeper) QCards(goCtx context.Context, req *types.QueryQCardsRequest) (*t
return false
}
checkClasses := func(cardobjClass cardobject.Class) bool {
fmt.Printf("%v, %v\n", cardobjClass, req.Classes)
if len(req.Classes) == 0 {
return true
}
Expand Down

0 comments on commit 98a4f2f

Please sign in to comment.