mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 04:01:55 +00:00
Fix config bug where chain_id is default magic. Always read from genesis
This commit is contained in:
@@ -35,7 +35,9 @@ func main() {
|
||||
fmt.Printf("New Debora Process (PID: %d)\n", os.Getpid())
|
||||
|
||||
// Apply bare tendermint/* configuration.
|
||||
cfg.ApplyConfig(cfg.MapConfig(map[string]interface{}{"log_level": "notice"}))
|
||||
config := cfg.NewMapConfig(nil)
|
||||
config.Set("log_level", "notice")
|
||||
cfg.ApplyConfig(config)
|
||||
|
||||
rootDir := os.Getenv("DEBROOT")
|
||||
if rootDir == "" {
|
||||
|
Reference in New Issue
Block a user