From de73ca67a3a484d5b8feb7029242045295270675 Mon Sep 17 00:00:00 2001 From: Lorenz Herzberger Date: Mon, 30 Sep 2024 10:49:27 +0200 Subject: [PATCH] chore: add hint to remove after migration to hw Signed-off-by: Lorenz Herzberger --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.go b/config/config.go index 28bfc70..8d09c96 100644 --- a/config/config.go +++ b/config/config.go @@ -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) }