Browse Source

fix: use unbalanced error

thesimplekid 7 tháng trước cách đây
mục cha
commit
5556080049
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      crates/cdk/src/mint/mod.rs

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

@@ -734,7 +734,7 @@ impl Mint {
                 output_total,
                 fee
             );
-            return Err(Error::InsufficientInputs(
+            return Err(Error::TransactionUnbalanced(
                 proofs_total.into(),
                 output_total.into(),
                 fee.into(),