fix for slashing with bech32 change

This commit is contained in:
Jeremiah Andrews 2018-06-01 12:32:26 -07:00
parent 537ce91e33
commit ad48f1b4a2
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ func GetCmdQuerySigningInfo(storeName string, cdc *wire.Codec) *cobra.Command {
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
pk, err := sdk.GetValPubKeyBech32Cosmos(args[0])
pk, err := sdk.GetValPubKeyBech32(args[0])
if err != nil {
return err
}

View File

@ -21,7 +21,7 @@ func GetCmdUnrevoke(cdc *wire.Codec) *cobra.Command {
RunE: func(cmd *cobra.Command, args []string) error {
ctx := context.NewCoreContextFromViper().WithDecoder(authcmd.GetAccountDecoder(cdc))
validatorAddr, err := sdk.GetAccAddressBech32Cosmos(args[0])
validatorAddr, err := sdk.GetAccAddressBech32(args[0])
if err != nil {
return err
}