Merge pull request #535 from hidewrong/main

chore: fix some comments
This commit is contained in:
thesimplekid
2025-01-14 12:10:03 +00:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ pub struct MeltQuoteBolt11Response<Q> {
pub amount: Amount,
/// The fee reserve that is required
pub fee_reserve: Amount,
/// Whether the the request haas be paid
/// Whether the request haas be paid
// TODO: To be deprecated
/// Deprecated
pub paid: Option<bool>,

View File

@@ -344,7 +344,7 @@ impl Mint {
if let Ok(secret) =
<&crate::secret::Secret as TryInto<crate::nuts::nut10::Secret>>::try_into(&proof.secret)
{
// Checks and verifes known secret kinds.
// Checks and verifies known secret kinds.
// If it is an unknown secret kind it will be treated as a normal secret.
// Spending conditions will **not** be check. It is up to the wallet to ensure
// only supported secret kinds are used as there is no way for the mint to

View File

@@ -126,7 +126,7 @@ impl Wallet {
.await?;
// Both `State::Pending` and `State::Unspent` should be included in the pending
// table. This is because a proof that has been crated to send will be
// table. This is because a proof that has been created to send will be
// stored in the pending table in order to avoid accidentally double
// spending but to allow it to be explicitly reclaimed
let pending_states: HashSet<PublicKey> = states