Browse Source

fix: remove unspent from check pending

thesimplekid 10 months ago
parent
commit
916fa4f5d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      crates/cdk/src/wallet/mod.rs

+ 1 - 1
crates/cdk/src/wallet/mod.rs

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