Skip to content

Commit

Permalink
chore: fix portkeeper Route arg naming (#6316)
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan authored May 16, 2024
1 parent 2cbcc34 commit 6ba52c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/05-port/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 6ba52c5

Please sign in to comment.