(seal bool)
| 17 | ) |
| 18 | |
| 19 | func SetConfig(seal bool) { |
| 20 | config := sdk.GetConfig() |
| 21 | config.SetBech32PrefixForAccount(AccountAddressPrefix, AccountPubKeyPrefix) |
| 22 | config.SetBech32PrefixForValidator(ValidatorAddressPrefix, ValidatorPubKeyPrefix) |
| 23 | config.SetBech32PrefixForConsensusNode(ConsNodeAddressPrefix, ConsNodePubKeyPrefix) |
| 24 | if seal { |
| 25 | config.Seal() |
| 26 | } |
| 27 | } |
no outgoing calls