Skip to content

Commit

Permalink
Remove superfluous ignore directive. (#4158)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim authored Jul 24, 2023
1 parent c2bd97b commit edd0cc1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/core/04-channel/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,6 @@ func (k Keeper) iterateHashes(ctx sdk.Context, iterator db.Iterator, cb func(por

// HasInflightPackets returns true if there are packet commitments stored at the specified
// port and channel, and false otherwise.
//
//lint:ignore U1000 Ignore unused function temporarily for debugging
func (k Keeper) HasInflightPackets(ctx sdk.Context, portID, channelID string) bool {
iterator := sdk.KVStorePrefixIterator(ctx.KVStore(k.storeKey), []byte(host.PacketCommitmentPrefixPath(portID, channelID)))
defer sdk.LogDeferred(ctx.Logger(), func() error { return iterator.Close() })
Expand Down

0 comments on commit edd0cc1

Please sign in to comment.