From f9c8a7694e11b48f92ba423a571861839f54d8d4 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 19 Sep 2025 20:53:23 -0700 Subject: fix bolt12 invoices --- lib/invoices.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/invoices.ts b/lib/invoices.ts index 1800b859..e2575723 100644 --- a/lib/invoices.ts +++ b/lib/invoices.ts @@ -104,7 +104,7 @@ export const generate = async ({ invoice, user }) => { amount = Math.round(r.invoice_amount_msat / 1000); r.bolt12 = bolt12; } else { - const r = await ln.offer({ + r = await ln.offer({ amount: amount ? `${amount + tip}sat` : "any", label: `${id} ${user.username} ${new Date()}`, description: memo || id, -- cgit v1.2.3