Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Jul 17, 2024
1 parent e6c0d2c commit 7c8339c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/staking/migrations/v3/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func migrateParamsStore(ctx sdk.Context, paramstore subspace) {
if paramstore.HasKeyTable() {
paramstore.Set(ctx, types.KeyMinCommissionRate, types.DefaultMinCommissionRate)
} else {
paramstore.WithKeyTable(types.ParamKeyTable())
paramstore.WithKeyTable(types.ParamKeyTable()) //nolint:staticcheck

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

View workflow job for this annotation

GitHub Actions / golangci-lint

directive `//nolint:staticcheck` is unused for linter "staticcheck" (nolintlint)

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

View workflow job for this annotation

GitHub Actions / Analyze

directive `//nolint:staticcheck` is unused for linter "staticcheck" (nolintlint)
paramstore.Set(ctx, types.KeyMinCommissionRate, types.DefaultMinCommissionRate)
}
}

0 comments on commit 7c8339c

Please sign in to comment.