From c5284b889fd9484fce50cfb0a76a67a0c35e9907 Mon Sep 17 00:00:00 2001 From: TechVest Date: Mon, 10 Mar 2025 22:33:22 +0800 Subject: [PATCH] chore: remove redundant words in comment Signed-off-by: TechVest --- crates/cdk-cli/src/sub_commands/receive.rs | 2 +- crates/cdk/src/mint/mint_nut04.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cdk-cli/src/sub_commands/receive.rs b/crates/cdk-cli/src/sub_commands/receive.rs index 54b21205..4ce212f5 100644 --- a/crates/cdk-cli/src/sub_commands/receive.rs +++ b/crates/cdk-cli/src/sub_commands/receive.rs @@ -30,7 +30,7 @@ pub struct ReceiveSubCommand { /// Nostr relay #[arg(short, long, action = clap::ArgAction::Append)] relay: Vec, - /// Unix time to to query nostr from + /// Unix time to query nostr from #[arg(long)] since: Option, /// Preimage diff --git a/crates/cdk/src/mint/mint_nut04.rs b/crates/cdk/src/mint/mint_nut04.rs index ead7c89a..88adeb2d 100644 --- a/crates/cdk/src/mint/mint_nut04.rs +++ b/crates/cdk/src/mint/mint_nut04.rs @@ -311,7 +311,7 @@ impl Mint { } }; - // We check the the total value of blinded messages == mint quote + // We check the total value of blinded messages == mint quote if amount != mint_quote.amount { return Err(Error::TransactionUnbalanced( mint_quote.amount.into(),