Skip to content

Commit

Permalink
rm todo and unneeded call
Browse files Browse the repository at this point in the history
  • Loading branch information
shaspitz committed Aug 7, 2023
1 parent 03daa2a commit 569599a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/integration/slashing.go
Original file line number Diff line number Diff line change
Expand Up @@ -681,9 +681,8 @@ func (suite *CCVTestSuite) TestQueueAndSendSlashPacket() {
suite.Require().True(consumerKeeper.OutstandingDowntime(ctx, consAddr))
}

// send all pending packets - only slash packets should be queued in this test
// TODO: the following call can be removed
consumerKeeper.SendPackets(ctx)
// SendPackets method should have already been called during
// endblockers in relayAllCommittedPackets above

// check that pending data packets got cleared
dataPackets = consumerKeeper.GetPendingPackets(ctx)
Expand Down

0 comments on commit 569599a

Please sign in to comment.