Browse Source

fix: use unbalanced error

thesimplekid 7 months ago
parent
commit
5556080049
1 changed files with 1 additions and 1 deletions
  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(),