Merge PR #3419: Fix query distr slashes
This commit is contained in:
committed by
Christopher Goes
parent
57ae957168
commit
6de39e19f3
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user