Merge PR #3419: Fix query distr slashes

This commit is contained in:
Jack Zampolin
2019-01-29 01:59:20 +01:00
committed by Christopher Goes
parent 57ae957168
commit 6de39e19f3
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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)
},