diff --git a/modules/apps/27-interchain-accounts/host/keeper/relay_test.go b/modules/apps/27-interchain-accounts/host/keeper/relay_test.go index 39dcf161fb67..83b77e0111d6 100644 --- a/modules/apps/27-interchain-accounts/host/keeper/relay_test.go +++ b/modules/apps/27-interchain-accounts/host/keeper/relay_test.go @@ -333,12 +333,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() { { "Msg fails its ValidateBasic: MsgTransfer has an empty receiver", func(encoding string) { - transferPath := ibctesting.NewPath(suite.chainB, suite.chainC) - transferPath.EndpointA.ChannelConfig.PortID = ibctesting.TransferPort - transferPath.EndpointB.ChannelConfig.PortID = ibctesting.TransferPort - transferPath.EndpointA.ChannelConfig.Version = transfertypes.Version - transferPath.EndpointB.ChannelConfig.Version = transfertypes.Version - + transferPath := ibctesting.NewTransferPath(suite.chainB, suite.chainC) suite.coordinator.Setup(transferPath) interchainAccountAddr, found := suite.chainB.GetSimApp().ICAHostKeeper.GetInterchainAccountAddress(suite.chainB.GetContext(), ibctesting.FirstConnectionID, path.EndpointA.ChannelConfig.PortID)