diff --git a/applications/tari_console_wallet/src/main.rs b/applications/tari_console_wallet/src/main.rs index 8641cee042..6fac8f08e0 100644 --- a/applications/tari_console_wallet/src/main.rs +++ b/applications/tari_console_wallet/src/main.rs @@ -100,8 +100,8 @@ fn main_inner() -> Result<(), ExitError> { include_str!("../log4rs_sample.yml"), )?; - #[cfg_attr(not(all(unix, feature = "libtor")), allow(unused_mut))] let mut config = ApplicationConfig::load_from(&cfg)?; + config.wallet.network = cli.network.parse()?; let runtime = tokio::runtime::Builder::new_multi_thread() .enable_all()