Skip to content

Commit

Permalink
improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sainoe committed Nov 9, 2023
1 parent 99423b0 commit d55d3f0
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 @@ -169,7 +169,7 @@ func (k Keeper) CheckMisbehaviour(ctx sdk.Context, misbehaviour ibctmtypes.Misbe
}

// VerifyClientMessage calls verifyMisbehaviour which verifies that the headers in the misbehaviour
// are valid against their respective trusted consensus states and that trustLevel of the validator set signed their commit.
// are valid against their respective trusted consensus states and that at least a TrustLevel of the validator set signed their commit.
// see checkMisbehaviourHeader in ibc-go/blob/v7.3.0/modules/light-clients/07-tendermint/misbehaviour_handle.go#L126
if err := clientState.VerifyClientMessage(ctx, k.cdc, clientStore, &misbehaviour); err != nil {
return err
Expand Down

0 comments on commit d55d3f0

Please sign in to comment.