From 83b62c59a6ed67859d6e92944a03e835d8cc5b31 Mon Sep 17 00:00:00 2001 From: randyahx Date: Mon, 6 Feb 2023 17:13:54 +0800 Subject: [PATCH] Changed timestamp from math.MaxInt64 -> max grpc unit --- x/slashing/keeper/msg_server.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x/slashing/keeper/msg_server.go b/x/slashing/keeper/msg_server.go index 9c05a92690..b6a9cb8499 100644 --- a/x/slashing/keeper/msg_server.go +++ b/x/slashing/keeper/msg_server.go @@ -2,7 +2,6 @@ package keeper import ( "context" - "math" "time" sdk "github.com/cosmos/cosmos-sdk/types" @@ -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(