aboutsummaryrefslogtreecommitdiffstats
path: root/lib/invoices.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/invoices.js')
-rw-r--r--lib/invoices.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/invoices.js b/lib/invoices.js
index 8023bdbb..8ac8a868 100644
--- a/lib/invoices.js
+++ b/lib/invoices.js
@@ -47,7 +47,7 @@ export let generate = async ({ invoice, user, sender, memo }) => {
description: memo || "",
expiry: expiry || 60 * 60 * 24 * 30,
deschashonly: true,
- cltv: 19
+ cltv: 19,
});
hash = r.bolt11;
@@ -84,8 +84,6 @@ export let generate = async ({ invoice, user, sender, memo }) => {
webhook,
};
- if (!user.username === 'lightningins') l(type, "invoice", user.username, amount);
-
if (type === "liquid") {
let { unconfidential } = await lq.getAddressInfo(hash);
await s(`invoice:${unconfidential}`, id);