Skip to content

Commit 1468382

Browse files
fix typos in the controller params (cosmos#1172)
## Description closes: #XXXX --- Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why. - [x] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/ibc-go/blob/master/CONTRIBUTING.md#pr-targeting)) - [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work. - [ ] Code follows the [module structure standards](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules/structure.md). - [ ] Wrote unit and integration [tests](https://github.com/cosmos/ibc-go/blob/master/CONTRIBUTING.md#testing) - [ ] Updated relevant documentation (`docs/`) or specification (`x/<module>/spec/`) - [ ] Added relevant `godoc` [comments](https://blog.golang.org/godoc-documenting-go-code). - [ ] Added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md` - [x] Re-reviewed `Files changed` in the Github PR explorer - [ ] Review `Codecov Report` in the comment section below once CI passes
1 parent f4a5dcb commit 1468382

File tree

1 file changed

+3
-3
lines changed
  • modules/apps/27-interchain-accounts/controller/keeper

1 file changed

+3
-3
lines changed

modules/apps/27-interchain-accounts/controller/keeper/params.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ import (
66
"github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/controller/types"
77
)
88

9-
// IsControllerEnabled retrieves the host enabled boolean from the paramstore.
9+
// IsControllerEnabled retrieves the controller enabled boolean from the paramstore.
1010
// True is returned if the controller submodule is enabled.
1111
func (k Keeper) IsControllerEnabled(ctx sdk.Context) bool {
1212
var res bool
1313
k.paramSpace.Get(ctx, types.KeyControllerEnabled, &res)
1414
return res
1515
}
1616

17-
// GetParams returns the total set of the host submodule parameters.
17+
// GetParams returns the total set of the controller submodule parameters.
1818
func (k Keeper) GetParams(ctx sdk.Context) types.Params {
1919
return types.NewParams(k.IsControllerEnabled(ctx))
2020
}
2121

22-
// SetParams sets the total set of the host submodule parameters.
22+
// SetParams sets the total set of the controller submodule parameters.
2323
func (k Keeper) SetParams(ctx sdk.Context, params types.Params) {
2424
k.paramSpace.SetParamSet(ctx, &params)
2525
}

0 commit comments

Comments
 (0)