aboutsummaryrefslogtreecommitdiffstats
path: root/routes/ecash.ts
diff options
context:
space:
mode:
Diffstat (limited to 'routes/ecash.ts')
-rw-r--r--routes/ecash.ts12
1 files changed, 1 insertions, 11 deletions
diff --git a/routes/ecash.ts b/routes/ecash.ts
index 57cc49c1..b4c16404 100644
--- a/routes/ecash.ts
+++ b/routes/ecash.ts
@@ -104,17 +104,7 @@ export default {
const { lightning: type } = PaymentType;
if (user.username !== "mint") fail("unauthorized");
const { id: uid, currency } = user;
- const ourfee = await tbDebit(
- uid,
- uid,
- type,
- amount || 0,
- 0,
- 0,
- 0,
- 0,
- "Insufficient funds",
- );
+ const ourfee = await tbDebit(uid, uid, type, amount || 0, 0, 0, 0, 0, "Insufficient funds");
const rates = await g("rates");
const rate = rates[currency];