Merge PR #4961: Switched keys prefixes to the config ones
This commit is contained in:
parent
5aacf454e1
commit
a131570cdc
|
@ -17,13 +17,14 @@ import (
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var config = sdk.GetConfig()
|
||||||
var bech32Prefixes = []string{
|
var bech32Prefixes = []string{
|
||||||
sdk.Bech32PrefixAccAddr,
|
config.GetBech32AccountAddrPrefix(),
|
||||||
sdk.Bech32PrefixAccPub,
|
config.GetBech32AccountPubPrefix(),
|
||||||
sdk.Bech32PrefixValAddr,
|
config.GetBech32ValidatorAddrPrefix(),
|
||||||
sdk.Bech32PrefixValPub,
|
config.GetBech32ValidatorPubPrefix(),
|
||||||
sdk.Bech32PrefixConsAddr,
|
config.GetBech32ConsensusAddrPrefix(),
|
||||||
sdk.Bech32PrefixConsPub,
|
config.GetBech32ConsensusPubPrefix(),
|
||||||
}
|
}
|
||||||
|
|
||||||
type hexOutput struct {
|
type hexOutput struct {
|
||||||
|
|
Loading…
Reference in New Issue