mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-24 08:05:02 +01:00
@@ -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>,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user