diff --git a/x/ibchooks/marker_hooks.go b/x/ibchooks/marker_hooks.go index fc527dd35c..660d199068 100644 --- a/x/ibchooks/marker_hooks.go +++ b/x/ibchooks/marker_hooks.go @@ -124,7 +124,7 @@ func (h MarkerHooks) addDenomMetaData(ctx sdktypes.Context, packet exported.Pack return h.MarkerKeeper.SetDenomMetaData(ctx, markerMetadata, authtypes.NewModuleAddress(types.ModuleName)) } -// GetChainID returns the source chain id from packet for `07-tendermint` client connection or returns `unknown` +// GetChainID returns the source chain id from packet for a `07-tendermint` client connection or returns `unknown` func (h MarkerHooks) GetChainID(ctx sdktypes.Context, packet exported.PacketI, ibcKeeper *ibckeeper.Keeper) string { chainID := "unknown" channel, found := ibcKeeper.ChannelKeeper.GetChannel(ctx, packet.GetSourcePort(), packet.GetSourceChannel())