Skip to content

Commit

Permalink
Update modules/core/05-port/keeper/keeper.go
Browse files Browse the repository at this point in the history
Co-authored-by: Cian Hatton <[email protected]>
  • Loading branch information
bznein and chatton authored Apr 10, 2024
1 parent 51d68a1 commit 3fdfbf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/core/05-port/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ func (k *Keeper) LookupModuleByPort(ctx sdk.Context, portID string) (string, *ca
return types.GetModuleOwner(modules), capability, nil
}

// GetRoute() returns a IBCModule for a given module.
// GetRoute returns a IBCModule for a given module, and a boolean indicating
// whether or not the route is present.
func (k Keeper) GetRoute(module string) (types.IBCModule, bool) {
return k.Router.GetRoute(module)
}

0 comments on commit 3fdfbf0

Please sign in to comment.