Author: Paolo Lulli <paolo@lulli.net>
Comment out db init
server/main.go | 3 +--
diff --git a/server/main.go b/server/main.go index 3cef44af8e1054c066c14da115b488835db8ea8f..6bda109c1c1ec34a33b4acc19e9781568c699158 100644 --- a/server/main.go +++ b/server/main.go @@ -15,7 +15,6 @@ "fmt" "os" "strings" "yats-server/config" - "yats-server/db" "yats-server/docs" "yats-server/grpc" ) @@ -52,7 +51,7 @@ fmt.Printf("Loading instance: [%s] config", instanceName) configuration = config.GetConfig(os.Getenv("HOME") + "/.yats/" + instanceName + ".json") } - db.Session = db.InitializeDb(configuration) + //db.Session = db.InitializeDb(configuration) if configuration.IsArchiveNode == "true" { fmt.Println("Starting Archive Node")