mirror of
https://github.com/mimblewimble/mwixnet.git
synced 2025-01-20 19:11:09 +03:00
call set_local_chain_type
This commit is contained in:
parent
d00362b02e
commit
2cd450cfa9
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ use wallet::HttpWallet;
|
|||
|
||||
use crate::store::StoreError;
|
||||
use clap::App;
|
||||
use grin_core::global;
|
||||
use grin_core::global::ChainTypes;
|
||||
use grin_util::{StopState, ZeroingString};
|
||||
use rpassword;
|
||||
|
@ -40,6 +41,7 @@ fn real_main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
} else {
|
||||
ChainTypes::Mainnet
|
||||
};
|
||||
global::set_local_chain_type(chain_type);
|
||||
|
||||
let config_path = match args.value_of("config_file") {
|
||||
Some(path) => PathBuf::from(path),
|
||||
|
|
Loading…
Reference in a new issue