Switch from bech32cosmos to bech32
This commit is contained in:
+2
-2
@@ -53,11 +53,11 @@ func ShowValidatorCmd(ctx *Context) *cobra.Command {
|
||||
fmt.Println(string(pubKeyJSONBytes))
|
||||
return nil
|
||||
}
|
||||
addr, err := sdk.Bech32CosmosifyValPub(valPubKey)
|
||||
pubkey, err := sdk.Bech32ifyValPub(valPubKey)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Println(addr)
|
||||
fmt.Println(pubkey)
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user