thesimplekid пре 1 година
родитељ
комит
1df5909a2a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      crates/cashu-sdk/src/mint.rs

+ 1 - 1
crates/cashu-sdk/src/mint.rs

@@ -240,7 +240,7 @@ impl Mint {
 
         let required_total = quote.amount + quote.fee_reserve;
 
-        if proofs_total < required_total.into() {
+        if proofs_total < required_total {
             debug!(
                 "Insufficient Proofs: Got: {}, Required: {}",
                 proofs_total, required_total