diff --git a/modules/core/04-channel/keeper/keeper_test.go b/modules/core/04-channel/keeper/keeper_test.go index ba8d536281c..a77da84f5fd 100644 --- a/modules/core/04-channel/keeper/keeper_test.go +++ b/modules/core/04-channel/keeper/keeper_test.go @@ -900,7 +900,7 @@ func (suite *KeeperTestSuite) sendMockPackets(path *ibctesting.Path, numPackets timeoutHeight := clienttypes.NewHeight(1, 1000) timeoutTimestamp := disabledTimeoutTimestamp - if acknowledge == false { + if !acknowledge { timeoutTimestamp = uint64(suite.chainA.GetContext().BlockTime().UnixNano()) } @@ -909,7 +909,7 @@ func (suite *KeeperTestSuite) sendMockPackets(path *ibctesting.Path, numPackets packet := types.NewPacket(ibctesting.MockPacketData, sequence, path.EndpointB.ChannelConfig.PortID, path.EndpointB.ChannelID, path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID, timeoutHeight, timeoutTimestamp) - if acknowledge == true { + if acknowledge { err = path.RelayPacket(packet) suite.Require().NoError(err) } else {