Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Jan 11, 2024
1 parent 46aa65e commit 3ad1634
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion cli/src/command/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
1 change: 0 additions & 1 deletion cli/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ pub async fn new_wallet(cli: WalletCli) -> Result<(Option<Wallet>, Option<Accoun
}
}
SecretManager::LedgerNano(ledger_nano) => 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."),
Expand Down

0 comments on commit 3ad1634

Please sign in to comment.