Skip to content

Commit

Permalink
Changed timestamp from math.MaxInt64 -> max grpc unit (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
randyahx authored Feb 8, 2023
1 parent 609d247 commit 8d71354
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/slashing/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package keeper

import (
"context"
"math"
"time"

sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down Expand Up @@ -81,7 +80,7 @@ func (k msgServer) Impeach(goCtx context.Context, msg *types.MsgImpeach) (*types
}

// Jail forever.
k.JailUntil(ctx, consAddr, time.Unix(math.MaxInt64, 0))
k.JailUntil(ctx, consAddr, time.Unix(253402300800, 0))

ctx.EventManager().EmitEvents(sdk.Events{
sdk.NewEvent(
Expand Down

0 comments on commit 8d71354

Please sign in to comment.