Merge PR #5495: Replace Redundant Bech32 PubKey Functions

This commit is contained in:
Alexander Bezobchuk
2020-01-09 09:04:28 -05:00
committed by GitHub
parent 67c2acd75a
commit 869531ca92
31 changed files with 191 additions and 235 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ func ShowValidatorCmd(ctx *Context) *cobra.Command {
return printlnJSON(valPubKey)
}
pubkey, err := sdk.Bech32ifyConsPub(valPubKey)
pubkey, err := sdk.Bech32ifyPubKey(sdk.Bech32PubKeyTypeConsPub, valPubKey)
if err != nil {
return err
}