From ad7b09b43323d0ffc0a8ddabb43e4838a184c697 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 24 Feb 2026 13:18:42 -0800 Subject: formatting --- routes/ecash.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'routes/ecash.ts') 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]; -- cgit v1.2.3