From 9c7d46dbd78e4ba217adbc9d48fbd6e91f5fad99 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 23 Jan 2024 15:22:05 -0800 Subject: format --- lib/invoices.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/invoices.js') 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); -- cgit v1.2.3