Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Sep 23, 2023
1 parent 64e343e commit b36c1ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ linters-settings:
excludes:
- G404
- G101
- G601
gocritic:
disabled-checks:
- appendAssign
Expand Down
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func (app *OmniFlixApp) RegisterNodeService(clientCtx client.Context) {

func (app *OmniFlixApp) setupUpgradeHandlers() {
for _, upgrade := range Upgrades {
app.AppKeepers.UpgradeKeeper.SetUpgradeHandler(
app.UpgradeKeeper.SetUpgradeHandler(
upgrade.UpgradeName,
upgrade.CreateUpgradeHandler(
app.mm,
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v2/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func CreateV2UpgradeHandler(
case banktypes.ModuleName:
keyTable = banktypes.ParamKeyTable() //nolint:staticcheck
case stakingtypes.ModuleName:
keyTable = stakingtypes.ParamKeyTable() //nolint:staticcheck
keyTable = stakingtypes.ParamKeyTable()
case minttypes.ModuleName:
keyTable = minttypes.ParamKeyTable() //nolint:staticcheck
case distrtypes.ModuleName:
Expand Down

0 comments on commit b36c1ff

Please sign in to comment.