Skip to content

Commit

Permalink
Update x/ccv/provider/keeper/misbehaviour.go
Browse files Browse the repository at this point in the history
Co-authored-by: Anca Zamfir <[email protected]>
  • Loading branch information
mpoke and ancazamfir committed Aug 14, 2023
1 parent 5d2842e commit 2af9f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/ccv/provider/keeper/misbehaviour.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit 2af9f4a

Please sign in to comment.