mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-24 14:35:47 +00:00
chore: add hint to remove after migration to hw
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
3c879b1610
commit
de73ca67a3
@ -26,6 +26,7 @@ issuer-host = "{{ .PlmntConfig.IssuerHost }}"
|
||||
certs-path = "{{ .PlmntConfig.CertsPath }}"
|
||||
`
|
||||
|
||||
// ValAddr to be reomved see: https://github.com/planetmint/planetmint-go/issues/454
|
||||
const ValAddr = "VALIDATOR_ADDRESS"
|
||||
|
||||
// Config defines Planetmint's top level configuration
|
||||
@ -81,6 +82,7 @@ func (config *Config) SetPlanetmintConfig(planetmintconfig interface{}) {
|
||||
}
|
||||
|
||||
func (config *Config) GetValidatorAddress() string {
|
||||
// TODO: to be reomved see: https://github.com/planetmint/planetmint-go/issues/454
|
||||
if os.Getenv(ValAddr) != "" {
|
||||
return os.Getenv(ValAddr)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user