mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-06-06 22:26:43 +00:00
Merge pull request #49 from planetmint/jmastr/set-cointype-to-planetmint
[config] Set PLMNT coin type
This commit is contained in:
commit
1a126d9e5c
@ -19,5 +19,7 @@ func initSDKConfig() {
|
|||||||
config.SetBech32PrefixForAccount(app.AccountAddressPrefix, accountPubKeyPrefix)
|
config.SetBech32PrefixForAccount(app.AccountAddressPrefix, accountPubKeyPrefix)
|
||||||
config.SetBech32PrefixForValidator(validatorAddressPrefix, validatorPubKeyPrefix)
|
config.SetBech32PrefixForValidator(validatorAddressPrefix, validatorPubKeyPrefix)
|
||||||
config.SetBech32PrefixForConsensusNode(consNodeAddressPrefix, consNodePubKeyPrefix)
|
config.SetBech32PrefixForConsensusNode(consNodeAddressPrefix, consNodePubKeyPrefix)
|
||||||
|
// Set to PLMNT coin type as defined in SLIP44 (https://github.com/satoshilabs/slips/blob/master/slip-0044.md)
|
||||||
|
config.SetCoinType(8680)
|
||||||
config.Seal()
|
config.Seal()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user