From edd0cc11875126bb3191fc0a735556c2cfaf2c5e Mon Sep 17 00:00:00 2001 From: Jim Fasarakis-Hilliard Date: Mon, 24 Jul 2023 11:33:31 +0300 Subject: [PATCH] Remove superfluous ignore directive. (#4158) --- modules/core/04-channel/keeper/keeper.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/core/04-channel/keeper/keeper.go b/modules/core/04-channel/keeper/keeper.go index 7d68521488e..ccbb4cc5d2a 100644 --- a/modules/core/04-channel/keeper/keeper.go +++ b/modules/core/04-channel/keeper/keeper.go @@ -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() })