Skip to content

Commit

Permalink
Update x/bank/migrations/v4/store.go
Browse files Browse the repository at this point in the history
Co-authored-by: mmsqe <[email protected]>
Signed-off-by: yihuang <[email protected]>
  • Loading branch information
yihuang and mmsqe authored Oct 13, 2023
1 parent b1a82bd commit 74c53fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/bank/migrations/v4/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, legacySubspace
legacySubspace.GetParamSet(ctx, &currParams)

// it's migrated to the x/bank module store, so delete from the params
currParams.SendEnabled = nil
currParams = types.NewParams(currParams.DefaultSendEnabled)

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

0 comments on commit 74c53fe

Please sign in to comment.