Merge pull request #1110 from cosmos/jlandrews/bech32fix

fix for slashing with bech32 change
This commit is contained in:
Rigel 2018-06-01 12:49:24 -07:00 committed by GitHub
commit 7faa452857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}