From cff8305c1adcc1ea5d2acfc5831cb4429cf5b5a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Colin=20Axn=C3=A9r?= <25233464+colin-axner@users.noreply.github.com> Date: Mon, 13 May 2024 16:31:48 +0200 Subject: [PATCH] try me linter --- modules/core/ante/ante_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/ante/ante_test.go b/modules/core/ante/ante_test.go index afc78430768..9cacca5198d 100644 --- a/modules/core/ante/ante_test.go +++ b/modules/core/ante/ante_test.go @@ -47,7 +47,7 @@ func TestAnteTestSuite(t *testing.T) { } // createRecvPacketMessage creates a RecvPacket message for a packet sent from chain A to chain B. -func (suite *AnteTestSuite) createRecvPacketMessage(isRedundant bool) sdk.Msg { +func (suite *AnteTestSuite) createRecvPacketMessage(isRedundant bool) *channeltypes.MsgRecvPacket { sequence, err := suite.path.EndpointA.SendPacket(clienttypes.NewHeight(2, 0), 0, ibctesting.MockPacketData) suite.Require().NoError(err) @@ -469,7 +469,7 @@ func (suite *AnteTestSuite) TestAnteDecorator() { { "no success on recvPacket checkTx, no capability found", func(suite *AnteTestSuite) []sdk.Msg { - msg := suite.createRecvPacketMessage(false).(*channeltypes.MsgRecvPacket) + msg := suite.createRecvPacketMessage(false) msg.Packet.DestinationPort = "invalid-port" return []sdk.Msg{msg} },