Skip to content

Commit

Permalink
Removed debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lxgr-linux committed Oct 6, 2023
1 parent e00a3c5 commit 9f0d536
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions x/cardchain/keeper/msg_server_open_booster_pack.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package keeper

import (
"fmt"
"context"
"math/rand"

Expand Down Expand Up @@ -42,7 +41,6 @@ func (k msgServer) OpenBoosterPack(goCtx context.Context, msg *types.MsgOpenBoos
cleanedRatios[idx] = ratio
}
}
fmt.Printf("%s", rarityNums)

for idx, num := range creator.BoosterPacks[msg.BoosterPackId].RaritiesPerPack {
for i := 0; i < int(num); i++ {
Expand Down Expand Up @@ -76,7 +74,6 @@ func (k msgServer) OpenBoosterPack(goCtx context.Context, msg *types.MsgOpenBoos
func (k Keeper) getCardRaritiesInSet(ctx sdk.Context, set *types.Set) (rarityNums [5][]uint64) {
for _, cardId := range set.Cards {
card := k.Cards.Get(ctx, cardId)
fmt.Println(card.Rarity)
rarityNums[int(card.Rarity)] = append(rarityNums[int(card.Rarity)], cardId)
}
return
Expand Down

0 comments on commit 9f0d536

Please sign in to comment.