Skip to content

Commit

Permalink
PR suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Jan 11, 2024
1 parent fff53e4 commit 46aa65e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sdk/src/client/secret/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,13 @@ impl fmt::Display for SecretManager {
#[cfg(feature = "stronghold")]
Self::Stronghold(_) => write!(f, "Stronghold"),
#[cfg(feature = "ledger_nano")]
Self::LedgerNano(_) => write!(f, "LedgerNano"),
Self::LedgerNano(l) => {
if l.is_simulator {
write!(f, "LedgerNano Simulator")
} else {
write!(f, "LedgerNano")
}
}
Self::Mnemonic(_) => write!(f, "Mnemonic"),
#[cfg(feature = "private_key_secret_manager")]
Self::PrivateKey(_) => write!(f, "PrivateKey"),
Expand Down

0 comments on commit 46aa65e

Please sign in to comment.