From 3ad16348634f3d94815b2aaa57f390724bb4469f Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Thu, 11 Jan 2024 01:17:08 +0100 Subject: [PATCH] small cleanup --- cli/src/command/wallet.rs | 1 - cli/src/wallet.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/cli/src/command/wallet.rs b/cli/src/command/wallet.rs index 0a5b32c451..fa15330864 100644 --- a/cli/src/command/wallet.rs +++ b/cli/src/command/wallet.rs @@ -115,7 +115,6 @@ pub struct InitParameters { /// manager. #[arg(short = 't', long, value_name = "PATH", env = "STRONGHOLD_SNAPSHOT_PATH", default_value = DEFAULT_STRONGHOLD_SNAPSHOT_PATH)] pub stronghold_snapshot_path: String, - // TODO: remove this field to make `InitParameters` independ from the secret manager being used? /// Set the path to a file containing mnemonics. If empty, a mnemonic has to be entered or will be randomly /// generated. Only used by some secret managers. #[arg(short, long, value_name = "PATH")] diff --git a/cli/src/wallet.rs b/cli/src/wallet.rs index 96203dd4e7..0fedd42a60 100644 --- a/cli/src/wallet.rs +++ b/cli/src/wallet.rs @@ -60,7 +60,6 @@ pub async fn new_wallet(cli: WalletCli) -> Result<(Option, Option LinkedSecretManager::LedgerNano { - // is_simulator: ledger_nano.is_simulator, is_connected: ledger_nano.get_ledger_nano_status().await.connected(), }, _ => panic!("only Stronghold and LedgerNano supported at the moment."),