mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 08:51:08 +03:00
Not exploding when grin.toml file isn't found (#164)
This commit is contained in:
parent
9310151680
commit
d0160811dd
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ impl GlobalConfig {
|
||||||
if let Some(fp) = file_path {
|
if let Some(fp) = file_path {
|
||||||
return_value.config_file_path = Some(PathBuf::from(&fp));
|
return_value.config_file_path = Some(PathBuf::from(&fp));
|
||||||
} else {
|
} else {
|
||||||
return_value.derive_config_location().unwrap();
|
let _result=return_value.derive_config_location();
|
||||||
}
|
}
|
||||||
|
|
||||||
// No attempt at a config file, just return defaults
|
// No attempt at a config file, just return defaults
|
||||||
|
|
Loading…
Reference in a new issue