diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/invoices.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
