Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
crodriguezvega committed Jan 3, 2024
1 parent 04e44cd commit 4ddd98e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/04-channel/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

Expand All @@ -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 {
Expand Down

0 comments on commit 4ddd98e

Please sign in to comment.