mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-09 07:55:53 +01:00
Merge pull request #701 from luozexuan/main
chore: fix some typos in comment
This commit is contained in:
@@ -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(());
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user