From 12ed2a8d52a24f300a0be9222a3d747a791336a3 Mon Sep 17 00:00:00 2001 From: Simon Noetzlin Date: Fri, 4 Aug 2023 17:56:44 +0200 Subject: [PATCH] lint --- tests/integration/misbehaviour.go | 1 - x/ccv/provider/types/msg.go | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/integration/misbehaviour.go b/tests/integration/misbehaviour.go index 618c77649b..c3b590d5c1 100644 --- a/tests/integration/misbehaviour.go +++ b/tests/integration/misbehaviour.go @@ -379,7 +379,6 @@ func (s *CCVTestSuite) TestCheckMisbehaviour() { for _, tc := range testCases { s.Run(tc.name, func() { - err := s.providerApp.GetProviderKeeper().CheckMisbehaviour(s.providerCtx(), *tc.misbehaviour) cs, ok := s.providerApp.GetIBCKeeper().ClientKeeper.GetClientState(s.providerCtx(), s.path.EndpointA.ClientID) s.Require().True(ok) diff --git a/x/ccv/provider/types/msg.go b/x/ccv/provider/types/msg.go index 7b807127c8..5c217f53b8 100644 --- a/x/ccv/provider/types/msg.go +++ b/x/ccv/provider/types/msg.go @@ -147,7 +147,6 @@ func (msg MsgRegisterConsumerRewardDenom) ValidateBasic() error { } func NewMsgSubmitConsumerMisbehaviour(submitter sdk.AccAddress, misbehaviour *ibctmtypes.Misbehaviour) (*MsgSubmitConsumerMisbehaviour, error) { - return &MsgSubmitConsumerMisbehaviour{Submitter: submitter.String(), Misbehaviour: misbehaviour}, nil }