Browse Source

chore: clippy

thesimplekid 1 year ago
parent
commit
1df5909a2a
1 changed files with 1 additions and 1 deletions
  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;
         let required_total = quote.amount + quote.fee_reserve;
 
 
-        if proofs_total < required_total.into() {
+        if proofs_total < required_total {
             debug!(
             debug!(
                 "Insufficient Proofs: Got: {}, Required: {}",
                 "Insufficient Proofs: Got: {}, Required: {}",
                 proofs_total, required_total
                 proofs_total, required_total