Simplified bitcoin keys module name
This commit is contained in:
@@ -2,7 +2,7 @@ use std::path::PathBuf;
|
||||
|
||||
use config::SideNodeConfig;
|
||||
|
||||
use crate::{keys, utils, bitcoin};
|
||||
use crate::{bitcoin, keys, utils};
|
||||
|
||||
pub(crate) mod config;
|
||||
|
||||
@@ -14,7 +14,7 @@ pub(crate) fn init(home: PathBuf, config: SideNodeConfig) -> Result<(), std::io:
|
||||
keys::bft_crdt::write(&bft_crdt_key_path)?;
|
||||
|
||||
println!("Writing bitcoin key to: {:?}", bitcoin_key_path);
|
||||
bitcoin::bitcoin_keys::write(&bitcoin_key_path)?;
|
||||
bitcoin::keys::write(&bitcoin_key_path)?;
|
||||
|
||||
println!("Writing config to: {:?}", config_path);
|
||||
config::write_toml(&config, &config_path).expect("unable to write config file");
|
||||
|
||||
Reference in New Issue
Block a user