Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sainoe committed Jul 14, 2023
1 parent 865e43b commit 6874b00
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/integration/misbehaviour.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ func (s *CCVTestSuite) TestMsgSubmitConsumerMisbehaviourHandler() {
false,
},
{

"valid MsgSubmitMisbehaviour should pass",
&ibctmtypes.Misbehaviour{
ClientId: s.path.EndpointA.ClientID,
Expand Down
2 changes: 0 additions & 2 deletions x/ccv/provider/keeper/misbehaviour.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ func (k Keeper) HandleConsumerMisbehaviour(ctx sdk.Context, misbehaviour exporte
// ConstructLightClientEvidence constructs and returns a CometBFT Ligth Client Attack(LCA) evidence struct
// from the given misbehaviour
func (k Keeper) ConstructLightClientEvidence(ctx sdk.Context, misbehaviour ibctmtypes.Misbehaviour) (*tmtypes.LightClientAttackEvidence, error) {

// construct the trusted and conflicetd ligth blocks
trusted, err := headerToLightBlock(*misbehaviour.Header1)
if err != nil {
Expand Down Expand Up @@ -120,7 +119,6 @@ func (k Keeper) ConstructLightClientEvidence(ctx sdk.Context, misbehaviour ibctm
// GetCommonFromMisbehaviour checks whether the given ibc misbehaviour's headers share common trusted height
// and that a consensus state exists for this height. In this case, it returns the associated trusted height, timestamp and valset.
func (k Keeper) GetTrustedInfoFromMisbehaviour(ctx sdk.Context, misbehaviour ibctmtypes.Misbehaviour) (int64, time.Time, *tmtypes.ValidatorSet, error) {

// a common trusted height is required
commonHeight := misbehaviour.Header1.TrustedHeight
if !commonHeight.EQ(misbehaviour.Header2.TrustedHeight) {
Expand Down

0 comments on commit 6874b00

Please sign in to comment.