Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoke committed Aug 14, 2023
1 parent 496139b commit 2a0fe53
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x/ccv/provider/keeper/misbehaviour.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ func (k Keeper) HandleConsumerMisbehaviour(ctx sdk.Context, misbehaviour ibctmty
// isn't too old. see ibc-go/modules/light-clients/07-tendermint/types/misbehaviour_handle.go

// Get Byzantine validators from the conflicting headers
// Note that it returns an error if the misbehaviour doesn't correspond to an equivocation
byzantineValidators, err := k.GetByzantineValidators(ctx, misbehaviour)
if err != nil {
return err
Expand Down Expand Up @@ -98,8 +97,7 @@ func (k Keeper) GetByzantineValidators(ctx sdk.Context, misbehaviour ibctmtypes.
header1Signers[sign.ValidatorAddress.String()] = struct{}{}
}

// iterate over the header2 signers
// and check if they s signed header1
// iterate over the header2 signers and check if they signed header1
for _, sign := range lightBlock2.Commit.Signatures {
if sign.Absent() {
continue
Expand Down

0 comments on commit 2a0fe53

Please sign in to comment.