diff --git a/modules/core/05-port/keeper/keeper.go b/modules/core/05-port/keeper/keeper.go index 51d77152a59..8da42cbef3a 100644 --- a/modules/core/05-port/keeper/keeper.go +++ b/modules/core/05-port/keeper/keeper.go @@ -84,6 +84,6 @@ func (k *Keeper) LookupModuleByPort(ctx sdk.Context, portID string) (string, *ca // Route returns a IBCModule for a given module, and a boolean indicating // whether or not the route is present. -func (k *Keeper) Route(clientID string) (types.IBCModule, bool) { - return k.Router.GetRoute(clientID) +func (k *Keeper) Route(module string) (types.IBCModule, bool) { + return k.Router.GetRoute(module) }