update eth backend

This commit is contained in:
Ian Norden
2020-10-28 08:23:17 -05:00
parent ef2d8f789d
commit 4f4ab1dd4f
7 changed files with 421 additions and 237 deletions
+1
View File
@@ -68,6 +68,7 @@ type Config struct {
func NewConfig() (*Config, error) {
c := new(Config)
viper.BindEnv("ethereum.httpPath", shared.ETH_HTTP_PATH)
viper.BindEnv("server.wsPath", SERVER_WS_PATH)
viper.BindEnv("server.ipcPath", SERVER_IPC_PATH)
viper.BindEnv("server.httpPath", SERVER_HTTP_PATH)