Renamed write to write_toml in the config

This commit is contained in:
Dave Hrycyszyn
2024-06-07 18:22:07 +01:00
parent 6f756d4fb6
commit 9dc515fb78
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ pub(crate) fn init(home: PathBuf, config: SideNodeConfig) -> Result<(), std::io:
keys::write(key_path)?;
println!("Writing config to: {:?}", config_path);
config::write(&config, &config_path).expect("unable to write config file");
config::write_toml(&config, &config_path).expect("unable to write config file");
Ok(())
}