Skip to content

Commit

Permalink
chore: removed legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno committed Aug 31, 2024
1 parent 97388d7 commit 71f169c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pkg/converter/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,3 @@ func (c *Converter) MustSetValidatorConsumerConsensusAddr(validator *types.Valid
validator.ConsensusAddressValcons = consAddress.String()
validator.ConsensusAddressHex = fmt.Sprintf("%x", consAddress)
}

func (c *Converter) GetConsKeyFromBech32(addr string) (string, error) {
consAddress, err := sdkTypes.ConsAddressFromBech32(addr)
if err != nil {
return "", err
}

return consAddress.String(), nil
}

0 comments on commit 71f169c

Please sign in to comment.