Skip to content

Commit 00a520e

Browse files
committed
fix: use CARDANO_NETWORK envvar
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 305a052 commit 00a520e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type MetricsConfig struct {
3737
}
3838

3939
type NodeConfig struct {
40-
Network string `yaml:"network" envconfig:"NETWORK"`
40+
Network string `yaml:"network" envconfig:"CARDANO_NETWORK"`
4141
NetworkMagic uint32 `yaml:"networkMagic" envconfig:"CARDANO_NODE_NETWORK_MAGIC"`
4242
Address string `yaml:"address" envconfig:"CARDANO_NODE_ADDRESS"`
4343
Port uint `yaml:"port" envconfig:"CARDANO_NODE_PORT"`

0 commit comments

Comments
 (0)