diff --git a/PENDING.md b/PENDING.md index a684ea8820e6..ad915ada610e 100644 --- a/PENDING.md +++ b/PENDING.md @@ -48,6 +48,7 @@ BUG FIXES * Gaia CLI (`gaiacli`) - [\#3417](https://github.com/cosmos/cosmos-sdk/pull/3417) Fix `q slashing signing-info` panic by ensuring safety of user input and properly returning not found error + - [\#3419](https://github.com/cosmos/cosmos-sdk/pull/3419) Fix `q distr slashes` panic * Gaia diff --git a/x/distribution/client/cli/query.go b/x/distribution/client/cli/query.go index 09d4b458ac2d..09b372278f3f 100644 --- a/x/distribution/client/cli/query.go +++ b/x/distribution/client/cli/query.go @@ -143,7 +143,7 @@ func GetCmdQueryValidatorSlashes(queryRoute string, cdc *codec.Codec) *cobra.Com return err } - var slashes types.ValidatorSlashEvent + var slashes types.ValidatorSlashEvents cdc.MustUnmarshalJSON(res, &slashes) return cliCtx.PrintOutput(slashes) },