From 2af9f4a4f82fde2964e775a7e6f62cff892b4ee1 Mon Sep 17 00:00:00 2001 From: Marius Poke Date: Mon, 14 Aug 2023 22:03:53 +0200 Subject: [PATCH] Update x/ccv/provider/keeper/misbehaviour.go Co-authored-by: Anca Zamfir --- x/ccv/provider/keeper/misbehaviour.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/ccv/provider/keeper/misbehaviour.go b/x/ccv/provider/keeper/misbehaviour.go index c44c1d46dc..35e8080536 100644 --- a/x/ccv/provider/keeper/misbehaviour.go +++ b/x/ccv/provider/keeper/misbehaviour.go @@ -18,7 +18,7 @@ import ( func (k Keeper) HandleConsumerMisbehaviour(ctx sdk.Context, misbehaviour ibctmtypes.Misbehaviour) error { logger := k.Logger(ctx) - // Check that the misbehaviour is valid and that the client isn't expired + // Check that the misbehaviour is valid and that the client consensus states at trusted heights are within trusting period if err := k.CheckMisbehaviour(ctx, misbehaviour); err != nil { logger.Info("Misbehaviour rejected", err.Error())