Skip to content

Commit

Permalink
Small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Apr 11, 2024
1 parent 6eb076b commit 4edfbd0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions x/observer/migrations/v8/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ func MigrateStore(
var currParams types.Params
legacySubspace.GetParamSet(ctx, &currParams)

legacySubspace.GetParamSet(ctx, &currParams)

if err := currParams.Validate(); err != nil {
err := currParams.Validate()
if err != nil {
return err

Check warning on line 28 in x/observer/migrations/v8/migrate.go

View check run for this annotation

Codecov / codecov/patch

x/observer/migrations/v8/migrate.go#L28

Added line #L28 was not covered by tests
}

Expand Down

0 comments on commit 4edfbd0

Please sign in to comment.