From 10e93dc525eba0ebb7df338ba6d5fd618fabf8ba Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 2 Oct 2023 12:58:35 -0700 Subject: increase default invoice expiry --- lib/invoices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/invoices.js b/lib/invoices.js index 62bbee1c..0bb57714 100644 --- a/lib/invoices.js +++ b/lib/invoices.js @@ -42,7 +42,7 @@ export let generate = async ({ invoice, user, sender, memo }) => { amount_msat: amount ? `${amount + tip}sat` : "any", label: new Date(), description: memo || "", - expiry: expiry || 3600, + expiry: expiry || 60 * 60 * 24 * 30, deschashonly: true }); -- cgit v1.2.3