瀏覽代碼

fix: use unbalanced error

thesimplekid 7 月之前
父節點
當前提交
5556080049
共有 1 個文件被更改,包括 1 次插入1 次删除
  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(),