Merge PR #5495: Replace Redundant Bech32 PubKey Functions

This commit is contained in:
Alexander Bezobchuk
2020-01-09 09:04:28 -05:00
committed by GitHub
parent 67c2acd75a
commit 869531ca92
31 changed files with 191 additions and 235 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ func (rvo ResultValidatorsOutput) String() string {
}
func bech32ValidatorOutput(validator *tmtypes.Validator) (ValidatorOutput, error) {
bechValPubkey, err := sdk.Bech32ifyConsPub(validator.PubKey)
bechValPubkey, err := sdk.Bech32ifyPubKey(sdk.Bech32PubKeyTypeConsPub, validator.PubKey)
if err != nil {
return ValidatorOutput{}, err
}