From dcca73434f93e8cf8a912e55a6e098791277a976 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 16 Sep 2026 04:53:22 -0700 Subject: ecash: drop the mint account special-case and the mint route The server no longer keeps a house ecash pool, so there is no mint account to skip when parsing a payment and no /ecash/mint endpoint. Co-Authored-By: Claude Fable 5.1 --- src/lib/parse.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/parse.ts b/src/lib/parse.ts index 03cd0c3d..663b2e42 100644 --- a/src/lib/parse.ts +++ b/src/lib/parse.ts @@ -73,7 +73,6 @@ export default async (s, host, cookies) => { } else if (t.toLowerCase().startsWith("ln")) { try { invoice = await get(`/invoice/${t}`); - if (invoice.user.username === "mint") throw new Error("mint payment"); } catch (e) { if (t.toLowerCase().startsWith("lno")) { const { offer_amount_msat: a } = await get(`/decode/${t}`); -- cgit v1.2.3