Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Jul 18, 2024
1 parent 5c8fcb4 commit 2150531
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/staking/migrations/v3/store.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//nolint

Check failure on line 1 in x/staking/migrations/v3/store.go

View workflow job for this annotation

GitHub Actions / golangci-lint

directive `//nolint` is unused (nolintlint)

Check failure on line 1 in x/staking/migrations/v3/store.go

View workflow job for this annotation

GitHub Actions / Analyze

directive `//nolint` is unused (nolintlint)

package v3

import (
Expand Down Expand Up @@ -33,7 +35,7 @@ func migrateParamsStore(ctx sdk.Context, paramstore subspace) {
if paramstore.HasKeyTable() {
paramstore.Set(ctx, types.KeyMinCommissionRate, types.DefaultMinCommissionRate)
} else {
paramstore.WithKeyTable(types.ParamKeyTable()) //nolint:staticcheck
paramstore.WithKeyTable(types.ParamKeyTable())
paramstore.Set(ctx, types.KeyMinCommissionRate, types.DefaultMinCommissionRate)
}
}

0 comments on commit 2150531

Please sign in to comment.