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 12, 2022
1 parent c248a6d commit 7b3fc24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions applications/tari_console_wallet/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ fn main_inner() -> Result<(), ExitError> {

#[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 7b3fc24

Please sign in to comment.