Skip to content

Commit

Permalink
fix(#232): Removed old rand.Seed
Browse files Browse the repository at this point in the history
  • Loading branch information
lxgr-linux committed Jun 10, 2024
1 parent 7f77591 commit 91bb56e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions x/cardchain/keeper/msg_server_open_booster_pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import (
func (k msgServer) OpenBoosterPack(goCtx context.Context, msg *types.MsgOpenBoosterPack) (*types.MsgOpenBoosterPackResponse, error) {
ctx := sdk.UnwrapSDKContext(goCtx)

rand.Seed(ctx.BlockTime().Unix())

creator, err := k.GetUserFromString(ctx, msg.Creator)
if err != nil {
return nil, sdkerrors.Wrap(types.ErrUserDoesNotExist, err.Error())
Expand Down

0 comments on commit 91bb56e

Please sign in to comment.