Update command.rs cleaning up irrelevant changes 2

This commit is contained in:
Anynomouss
2025-09-19 09:34:14 +02:00
committed by GitHub
parent 8b93f2a616
commit a51121ce2a
+3 -8
View File
@@ -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,