Bump Tendermint v0.33.4 (#6055)

* Bump go.{mod,sum}

* Update APIs from Tendermint

* Add max clock drift to client state

* Test updates

* Update APIs from Tendermint

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
Alexander Bezobchuk
2020-04-22 19:21:48 +00:00
committed by GitHub
co-authored by Federico Kunze
parent 550c3e9ef0
commit 72a2dae3db
27 changed files with 249 additions and 122 deletions
+6 -4
View File
@@ -42,12 +42,14 @@ func ShowValidatorCmd(ctx *Context) *cobra.Command {
Use: "show-validator",
Short: "Show this node's tendermint validator info",
RunE: func(cmd *cobra.Command, args []string) error {
cfg := ctx.Config
UpgradeOldPrivValFile(cfg)
privValidator := pvm.LoadOrGenFilePV(
cfg.PrivValidatorKeyFile(), cfg.PrivValidatorStateFile())
valPubKey := privValidator.GetPubKey()
privValidator := pvm.LoadOrGenFilePV(cfg.PrivValidatorKeyFile(), cfg.PrivValidatorStateFile())
valPubKey, err := privValidator.GetPubKey()
if err != nil {
return err
}
if viper.GetString(cli.OutputFlag) == "json" {
return printlnJSON(valPubKey)