Simplified bitcoin keys module name

This commit is contained in:
Dave Hrycyszyn
2024-06-25 13:36:50 +01:00
parent 037fc27b7b
commit 73f33a61e6
6 changed files with 15 additions and 13 deletions

View File

@@ -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");