XXX: this func should probably be called by cmd/tendermint/commands/init.go alongside the writing of the genesis.json and priv_validator.json
(configFilePath string)
| 52 | // XXX: this func should probably be called by cmd/tendermint/commands/init.go |
| 53 | // alongside the writing of the genesis.json and priv_validator.json |
| 54 | func writeDefaultConfigFile(configFilePath string) { |
| 55 | WriteConfigFile(configFilePath, DefaultConfig()) |
| 56 | } |
| 57 | |
| 58 | // WriteConfigFile renders config using the template and writes it to configFilePath. |
| 59 | func WriteConfigFile(configFilePath string, config *Config) { |
no test coverage detected