From 94e052923e8567950b2e4d0170d20fc1ad750886 Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Mon, 4 Mar 2024 16:09:12 -0800 Subject: [PATCH] Fix typos. --- cmd/soroban-cli/src/commands/config/locator.rs | 4 ++-- cmd/soroban-cli/src/commands/config/secret.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/soroban-cli/src/commands/config/locator.rs b/cmd/soroban-cli/src/commands/config/locator.rs index 2688b043f..680bcb536 100644 --- a/cmd/soroban-cli/src/commands/config/locator.rs +++ b/cmd/soroban-cli/src/commands/config/locator.rs @@ -32,11 +32,11 @@ pub enum Error { NetworkFileRead { path: PathBuf }, #[error(transparent)] Toml(#[from] toml::de::Error), - #[error("Seceret file failed to deserialize")] + #[error("Secret file failed to deserialize")] Deserialization, #[error("Failed to write identity file:{filepath}: {error}")] IdCreationFailed { filepath: PathBuf, error: io::Error }, - #[error("Seceret file failed to deserialize")] + #[error("Secret file failed to deserialize")] NetworkDeserialization, #[error("Failed to write network file: {0}")] NetworkCreationFailed(std::io::Error), diff --git a/cmd/soroban-cli/src/commands/config/secret.rs b/cmd/soroban-cli/src/commands/config/secret.rs index 4684e2a88..52a443d87 100644 --- a/cmd/soroban-cli/src/commands/config/secret.rs +++ b/cmd/soroban-cli/src/commands/config/secret.rs @@ -11,7 +11,7 @@ pub enum Error { InvalidSecretKey, // #[error("seed_phrase must be 12 words long, found {len}")] // InvalidSeedPhrase { len: usize }, - #[error("seceret input error")] + #[error("secret input error")] PasswordRead, #[error(transparent)] Secret(#[from] stellar_strkey::DecodeError),