mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 05:46:32 +00:00
default moniker to the host name (Refs #920)
This commit is contained in:
@@ -32,6 +32,9 @@ func isolate(cmds ...*cobra.Command) cli.Executable {
|
||||
if err := os.Unsetenv("TM_HOME"); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if err := os.RemoveAll(defaultRoot); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
viper.Reset()
|
||||
config = cfg.DefaultConfig()
|
||||
|
||||
Reference in New Issue
Block a user