Skip to content

Commit

Permalink
Merge pull request #11 from 0g-wh/iavl-0.20
Browse files Browse the repository at this point in the history
fix mint migration
  • Loading branch information
Solovyov1796 authored Aug 3, 2024
2 parents cf4e461 + 7fb222e commit cce2144
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/mint/migrations/v2/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ func Migrate(
legacySubspace exported.Subspace,
cdc codec.BinaryCodec,
) error {
var currParams types.Params
legacySubspace.GetParamSet(ctx, &currParams)
var currParams = types.DefaultParams()

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

0 comments on commit cce2144

Please sign in to comment.