From 7edcd9e9751512b809b5c20fc6820eb16b5dbfff Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 5 Sep 2023 11:59:05 -0400 Subject: [PATCH] feat: make node binary configurable Signed-off-by: Chris Gianelloni --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 71a54bf..c12aea7 100644 --- a/config.go +++ b/config.go @@ -37,7 +37,7 @@ type AppConfig struct { type NodeConfig struct { ByronGenesis ByronGenesisConfig `yaml:"byron"` - Binary string // TODO: make this configurable + Binary string `yaml:"binary" envconfig:"CARDANO_NODE_BINARY"` Network string `yaml:"network" envconfig:"CARDANO_NETWORK"` SocketPath string `yaml:"socketPath" envconfig:"CARDANO_NODE_SOCKET_PATH"` NetworkMagic uint32 `yaml:"networkMagic" envconfig:"CARDANO_NODE_NETWORK_MAGIC"`