Use the account encoding for the validator address

This commit is contained in:
Zaki Manian 2018-05-27 14:24:18 +02:00
parent a163a3558f
commit ba7d1c0b8e
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ func (b Delegation) HumanReadableString() (string, error) {
if err != nil {
return "", err
}
bechVal, err := sdk.Bech32CosmosifyVal(b.ValidatorAddr)
bechVal, err := sdk.Bech32CosmosifyAcc(b.ValidatorAddr)
if err != nil {
return "", err
}