Update command.rs cleaning up irrelevant changes 2
This commit is contained in:
@@ -82,17 +82,12 @@ where
|
||||
C: NodeClient + 'static,
|
||||
K: keychain::Keychain + 'static,
|
||||
{
|
||||
// Assume global chain type has already been initialized.
|
||||
let chain_type = global::get_chain_type();
|
||||
|
||||
let mut w_lock = owner_api.wallet_inst.lock();
|
||||
let p = w_lock.lc_provider()?;
|
||||
println!("Checkpoint");
|
||||
p.create_config(
|
||||
&chain_type,
|
||||
WALLET_CONFIG_FILE_NAME,
|
||||
Some(args.config),
|
||||
None,
|
||||
None,
|
||||
)?;
|
||||
p.create_config(&chain_type, WALLET_CONFIG_FILE_NAME, None, None, None)?;
|
||||
p.create_wallet(
|
||||
None,
|
||||
args.recovery_phrase,
|
||||
|
||||
Reference in New Issue
Block a user