Răsfoiți Sursa

fix: check state of pending conditions

thesimplekid 9 luni în urmă
părinte
comite
0ba78b9e1d
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      crates/cdk/src/wallet.rs

+ 2 - 2
crates/cdk/src/wallet.rs

@@ -417,8 +417,8 @@ impl Wallet {
                 .get_proofs(
                     Some(mint.clone()),
                     None,
-                    Some(vec![State::Unspent, State::Pending]),
-                    Some(vec![]),
+                    Some(vec![State::Unspent, State::Pending, State::Reserved]),
+                    None,
                 )
                 .await?
             {