Skip to content

Commit de4a2dc

Browse files
authored
Merge pull request #535 from hidewrong/main
chore: fix some comments
2 parents 0840dfe + 665c927 commit de4a2dc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/cashu/src/nuts/nut05.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ pub struct MeltQuoteBolt11Response<Q> {
161161
pub amount: Amount,
162162
/// The fee reserve that is required
163163
pub fee_reserve: Amount,
164-
/// Whether the the request haas be paid
164+
/// Whether the request haas be paid
165165
// TODO: To be deprecated
166166
/// Deprecated
167167
pub paid: Option<bool>,

crates/cdk/src/mint/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ impl Mint {
344344
if let Ok(secret) =
345345
<&crate::secret::Secret as TryInto<crate::nuts::nut10::Secret>>::try_into(&proof.secret)
346346
{
347-
// Checks and verifes known secret kinds.
347+
// Checks and verifies known secret kinds.
348348
// If it is an unknown secret kind it will be treated as a normal secret.
349349
// Spending conditions will **not** be check. It is up to the wallet to ensure
350350
// only supported secret kinds are used as there is no way for the mint to

crates/cdk/src/wallet/proofs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ impl Wallet {
126126
.await?;
127127

128128
// Both `State::Pending` and `State::Unspent` should be included in the pending
129-
// table. This is because a proof that has been crated to send will be
129+
// table. This is because a proof that has been created to send will be
130130
// stored in the pending table in order to avoid accidentally double
131131
// spending but to allow it to be explicitly reclaimed
132132
let pending_states: HashSet<PublicKey> = states

0 commit comments

Comments
 (0)