Skip to content
Snippets Groups Projects
Commit a39a8460 authored by Benjamin Bollen's avatar Benjamin Bollen
Browse files

quick patch to develop_tmsp, separating the config files;

this is needed to avoid edb to assume that tendermints written config file is edbs config file
the current code is highly unsafe as a differently structured config file will produce a runtime error
parent 53fa19da
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ func ServeErisDB(workDir string, inProc bool) (*server.ServeProcess, error) {
// Get an erisdb configuration
var edbConf *edbcfg.ErisDBConfig
edbConfPath := path.Join(workDir, "config.toml")
edbConfPath := path.Join(workDir, "server_config.toml")
if !FileExists(edbConfPath) {
log.Info("No server configuration, using default.")
log.Info("Writing to: " + edbConfPath)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment