Merge PR #5495: Replace Redundant Bech32 PubKey Functions
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user