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
@@ -101,11 +101,11 @@ func printInfos(infos []keys.Info) {
}
func printKeyOutput(ko KeyOutput) {
bechAccount, err := sdk.Bech32CosmosifyAcc(ko.Address)
bechAccount, err := sdk.Bech32ifyAcc(ko.Address)
if err != nil {
panic(err)
}
bechPubKey, err := sdk.Bech32CosmosifyAccPub(ko.PubKey)
bechPubKey, err := sdk.Bech32ifyAccPub(ko.PubKey)
if err != nil {
panic(err)
}