浏览代码

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