diff options
| author | Adam Soltys <[email protected]> | 2026-09-16 04:53:22 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-16 04:53:22 -0700 |
| commit | dcca73434f93e8cf8a912e55a6e098791277a976 (patch) | |
| tree | 8543a2b3d6199f01e70461259bc5242ab9a56777 /src/lib/parse.ts | |
| parent | 1d87d0d36feea526f8f6bf4a62b012132bd36128 (diff) | |
| download | coinos-ui-dcca73434f93e8cf8a912e55a6e098791277a976.tar.gz coinos-ui-dcca73434f93e8cf8a912e55a6e098791277a976.zip | |
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 <[email protected]>
Diffstat (limited to 'src/lib/parse.ts')
| -rw-r--r-- | src/lib/parse.ts | 1 |
1 files changed, 0 insertions, 1 deletions
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}`); |
