aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/invoices.js2
1 files changed, 1 insertions, 1 deletions
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
});