From 02fd84987016773c716c2d08da59d028fd5a8b38 Mon Sep 17 00:00:00 2001 From: luozexuan Date: Wed, 2 Apr 2025 18:29:18 +0800 Subject: [PATCH] chore: fix some typos in comment Signed-off-by: luozexuan --- crates/cdk-integration-tests/tests/happy_path_mint_wallet.rs | 2 +- crates/cdk-mint-rpc/Cargo.toml | 2 +- crates/cdk-mintd/Cargo.toml | 2 +- crates/cdk-mintd/src/env_vars/ln.rs | 2 +- crates/cdk/src/wallet/multi_mint_wallet.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/cdk-integration-tests/tests/happy_path_mint_wallet.rs b/crates/cdk-integration-tests/tests/happy_path_mint_wallet.rs index 9546b9aa..61159b41 100644 --- a/crates/cdk-integration-tests/tests/happy_path_mint_wallet.rs +++ b/crates/cdk-integration-tests/tests/happy_path_mint_wallet.rs @@ -439,7 +439,7 @@ async fn test_pay_invoice_twice() -> Result<()> { }; if ln_backend.map(|ln| ln.to_uppercase()) == Some("FAKEWALLET".to_string()) { - // We can only preform this test on regtest backends as fake wallet just marks the quote as paid + // We can only perform this test on regtest backends as fake wallet just marks the quote as paid return Ok(()); } diff --git a/crates/cdk-mint-rpc/Cargo.toml b/crates/cdk-mint-rpc/Cargo.toml index bf004bd6..4e3c6280 100644 --- a/crates/cdk-mint-rpc/Cargo.toml +++ b/crates/cdk-mint-rpc/Cargo.toml @@ -3,7 +3,7 @@ name = "cdk-mint-rpc" version.workspace = true edition.workspace = true authors = ["CDK Developers"] -description = "CDK mintd mint managment RPC client and server" +description = "CDK mintd mint management RPC client and server" license.workspace = true homepage = "https://github.com/cashubtc/cdk" repository = "https://github.com/cashubtc/cdk.git" diff --git a/crates/cdk-mintd/Cargo.toml b/crates/cdk-mintd/Cargo.toml index 7c490c3b..e317591c 100644 --- a/crates/cdk-mintd/Cargo.toml +++ b/crates/cdk-mintd/Cargo.toml @@ -20,7 +20,7 @@ lnbits = ["dep:cdk-lnbits"] fakewallet = ["dep:cdk-fake-wallet"] grpc-processor = ["dep:cdk-payment-processor"] sqlcipher = ["cdk-sqlite/sqlcipher"] -# MSRV is not commited to with redb enabled +# MSRV is not committed to with redb enabled redb = ["dep:cdk-redb"] swagger = ["cdk-axum/swagger", "dep:utoipa", "dep:utoipa-swagger-ui"] redis = ["cdk-axum/redis"] diff --git a/crates/cdk-mintd/src/env_vars/ln.rs b/crates/cdk-mintd/src/env_vars/ln.rs index 96f6e33a..4d1ed357 100644 --- a/crates/cdk-mintd/src/env_vars/ln.rs +++ b/crates/cdk-mintd/src/env_vars/ln.rs @@ -19,7 +19,7 @@ impl Ln { if let Ok(backend) = backend_str.parse() { self.ln_backend = backend; } else { - tracing::warn!("Unknow payment backend set in env var will attempt to use config file. {backend_str}"); + tracing::warn!("Unknown payment backend set in env var will attempt to use config file. {backend_str}"); } } diff --git a/crates/cdk/src/wallet/multi_mint_wallet.rs b/crates/cdk/src/wallet/multi_mint_wallet.rs index f5980da7..7a0d7b5d 100644 --- a/crates/cdk/src/wallet/multi_mint_wallet.rs +++ b/crates/cdk/src/wallet/multi_mint_wallet.rs @@ -340,7 +340,7 @@ impl MultiMintWallet { wallet.verify_token_p2pk(token, conditions) } - /// Verifys all proofs in toke have valid dleq proof + /// Verifys all proofs in token have valid dleq proof #[instrument(skip(self, token))] pub async fn verify_token_dleq( &self,