Переглянути джерело

Merge pull request #701 from luozexuan/main

chore: fix some typos in comment
thesimplekid 3 тижнів тому
батько
коміт
f0766d0ae4

+ 1 - 1
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()) {
     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(());
         return Ok(());
     }
     }
 
 

+ 1 - 1
crates/cdk-mint-rpc/Cargo.toml

@@ -3,7 +3,7 @@ name = "cdk-mint-rpc"
 version.workspace = true
 version.workspace = true
 edition.workspace = true
 edition.workspace = true
 authors = ["CDK Developers"]
 authors = ["CDK Developers"]
-description = "CDK mintd mint managment RPC client and server"
+description = "CDK mintd mint management RPC client and server"
 license.workspace = true
 license.workspace = true
 homepage = "https://github.com/cashubtc/cdk"
 homepage = "https://github.com/cashubtc/cdk"
 repository = "https://github.com/cashubtc/cdk.git"
 repository = "https://github.com/cashubtc/cdk.git"

+ 1 - 1
crates/cdk-mintd/Cargo.toml

@@ -20,7 +20,7 @@ lnbits = ["dep:cdk-lnbits"]
 fakewallet = ["dep:cdk-fake-wallet"]
 fakewallet = ["dep:cdk-fake-wallet"]
 grpc-processor = ["dep:cdk-payment-processor"]
 grpc-processor = ["dep:cdk-payment-processor"]
 sqlcipher = ["cdk-sqlite/sqlcipher"]
 sqlcipher = ["cdk-sqlite/sqlcipher"]
-# MSRV is not commited to with redb enabled
+# MSRV is not committed to with redb enabled
 redb = ["dep:cdk-redb"]
 redb = ["dep:cdk-redb"]
 swagger = ["cdk-axum/swagger", "dep:utoipa", "dep:utoipa-swagger-ui"]
 swagger = ["cdk-axum/swagger", "dep:utoipa", "dep:utoipa-swagger-ui"]
 redis = ["cdk-axum/redis"]
 redis = ["cdk-axum/redis"]

+ 1 - 1
crates/cdk-mintd/src/env_vars/ln.rs

@@ -19,7 +19,7 @@ impl Ln {
             if let Ok(backend) = backend_str.parse() {
             if let Ok(backend) = backend_str.parse() {
                 self.ln_backend = backend;
                 self.ln_backend = backend;
             } else {
             } 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}");
             }
             }
         }
         }
 
 

+ 1 - 1
crates/cdk/src/wallet/multi_mint_wallet.rs

@@ -340,7 +340,7 @@ impl MultiMintWallet {
         wallet.verify_token_p2pk(token, conditions)
         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))]
     #[instrument(skip(self, token))]
     pub async fn verify_token_dleq(
     pub async fn verify_token_dleq(
         &self,
         &self,