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: insumity <[email protected]>
  • Loading branch information
sainoe and insumity authored Nov 15, 2023
1 parent feac2ad commit 09a2a38
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 @@ -181,7 +181,7 @@ func (k Keeper) CheckMisbehaviour(ctx sdk.Context, misbehaviour ibctmtypes.Misbe
return errorsmod.Wrap(ibcclienttypes.ErrInvalidMisbehaviour, "headers are not at same height")
}

// CheckMisbehaviour verifies that the headers have different blockID hashes
// CheckForMisbehaviour verifies that the headers have different blockID hashes
ok := clientState.CheckForMisbehaviour(ctx, k.cdc, clientStore, &misbehaviour)
if !ok {
return errorsmod.Wrapf(ibcclienttypes.ErrInvalidMisbehaviour, "invalid misbehaviour for client-id: %s", misbehaviour.ClientId)
Expand Down

0 comments on commit 09a2a38

Please sign in to comment.