소스 검색

chore: clippy

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