diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/parse.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/parse.ts b/src/lib/parse.ts index 309e53d7..ba181e6c 100644 --- a/src/lib/parse.ts +++ b/src/lib/parse.ts @@ -53,6 +53,7 @@ export default async (s, host) => { if (t.toLowerCase().startsWith("ln")) { try { await get(`/invoice/${t}`); + if (inv.user.username === "mint") throw new Error("mint payment"); } catch (e) { if (t.toLowerCase().startsWith("lno")) { const { offer_amount_msat: a } = await get(`/decode/${t}`); |
