Skip to content

Commit

Permalink
Merge PR #3419: Fix query distr slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzampolin authored and cwgoes committed Jan 29, 2019
1 parent 57ae957 commit 6de39e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion x/distribution/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
Expand Down

0 comments on commit 6de39e1

Please sign in to comment.