diff --git a/x/auth/keeper/params.go b/x/auth/keeper/params.go index 680f7c1583e2..7df947231e5a 100644 --- a/x/auth/keeper/params.go +++ b/x/auth/keeper/params.go @@ -25,6 +25,6 @@ func (ak AccountKeeper) GetParams(ctx sdk.Context) (params types.Params) { if bz == nil { return params } - ak.cdc.MustUnmarshal(bz, ¶ms) + ak.cdc.MustUnmarshal(bz[:], ¶ms) return params }