chore: remove obsolete config param (#417)

Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
Julian Strobl 2024-06-27 15:16:52 +02:00 committed by GitHub
parent a4c8c821d0
commit d2def2b453
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,6 @@ certs-path = "{{ .PlmntConfig.CertsPath }}"
// Config defines Planetmint's top level configuration
type Config struct {
ConfigRootDir string `json:"config-root-dir" mapstructure:"config-root-dir"`
RPCHost string `json:"rpc-host" mapstructure:"rpc-host"`
RPCPort int `json:"rpc-port" mapstructure:"rpc-port"`
RPCUser string `json:"rpc-user" mapstructure:"rpc-user"`
@ -58,7 +57,6 @@ var (
// DefaultConfig returns planetmint's default configuration.
func DefaultConfig() *Config {
return &Config{
ConfigRootDir: "",
RPCHost: "localhost",
RPCPort: 18884,
RPCUser: "user",