Minor tweaks to output
This commit is contained in:
@@ -12,10 +12,13 @@ pub(crate) fn init(home: PathBuf, config: SideNodeConfig) -> Result<(), std::io:
|
||||
ensure_side_directory_exists(&home)?;
|
||||
let (key_path, config_path) = side_paths(home.clone());
|
||||
|
||||
println!("Writing key to: {:?}", key_path);
|
||||
let pem = keys::setup();
|
||||
keys::write(key_path, pem)?;
|
||||
|
||||
println!("Writing config to: {:?}", config_path);
|
||||
config::write(&config, &config_path).expect("unable to write config file");
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user