Renamed keys module
This commit is contained in:
@@ -2,7 +2,7 @@ use std::path::PathBuf;
|
||||
|
||||
use config::SideNodeConfig;
|
||||
|
||||
use crate::{bitcoin_keys, keys, utils};
|
||||
use crate::{bft_crdt_keys, bitcoin_keys, utils};
|
||||
|
||||
pub(crate) mod config;
|
||||
|
||||
@@ -11,7 +11,7 @@ pub(crate) fn init(home: PathBuf, config: SideNodeConfig) -> Result<(), std::io:
|
||||
let (bft_crdt_key_path, bitcoin_key_path, config_path) = utils::side_paths(home.clone());
|
||||
|
||||
println!("Writing bft crdt key to: {:?}", bft_crdt_key_path);
|
||||
keys::write(&bft_crdt_key_path)?;
|
||||
bft_crdt_keys::write(&bft_crdt_key_path)?;
|
||||
|
||||
println!("Writing bitcoin key to: {:?}", bitcoin_key_path);
|
||||
bitcoin_keys::write(&bitcoin_key_path)?;
|
||||
|
||||
Reference in New Issue
Block a user