Skip to content

Commit

Permalink
fix(wallet): use network defined by cli/envvar in console wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed May 16, 2022
1 parent c248a6d commit f85c336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/tari_console_wallet/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f85c336

Please sign in to comment.