Switch from bech32cosmos to bech32

This commit is contained in:
Zaki Manian
2018-06-01 16:23:58 +02:00
parent 5e39d05a2f
commit ce850dca3b
13 changed files with 71 additions and 74 deletions
+2 -2
View File
@@ -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
},
}