diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/invoices.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/invoices.js b/lib/invoices.js index 5969ac59..bab48515 100644 --- a/lib/invoices.js +++ b/lib/invoices.js @@ -31,7 +31,17 @@ export let generate = async ({ invoice, user, sender, memo }) => { let hash, text; if (type === types.lightning) { let amt = amount ? `${amount + tip}sat` : "any"; - let r = await ln.invoice(amt, new Date(), memo || "", 3600); + let r = await ln.invoice( + amt, + new Date(), + memo || "", + 3600, + undefined, + undefined, + undefined, + undefined, + true + ); hash = r.payment_hash; text = r.bolt11; |
