From 4edfbd01611ee76934f6a91bb7253e98fead003d Mon Sep 17 00:00:00 2001 From: skosito Date: Thu, 11 Apr 2024 23:18:10 +0200 Subject: [PATCH] Small cleanup --- x/observer/migrations/v8/migrate.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x/observer/migrations/v8/migrate.go b/x/observer/migrations/v8/migrate.go index 4b0f1d3c3d..117e26d8de 100644 --- a/x/observer/migrations/v8/migrate.go +++ b/x/observer/migrations/v8/migrate.go @@ -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 }