From a675c1992fa58ad04b04a222a1123321268c7af1 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 24 Nov 2022 14:04:22 -0800 Subject: remove lnd support --- lib/utils.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/utils.js') diff --git a/lib/utils.js b/lib/utils.js index c2f7e7eb..c9670339 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -166,10 +166,8 @@ export const derivePayRequest = async ({ amount, memo, tip }) => { if (!tip) tip = 0; let value = amount + tip; - if (config.lna.clightning) { if (!memo) memo = "coinos"; return ( await ln.invoice(value ? `${value}sat` : "any", new Date(), memo, 360) ).bolt11; - } }; -- cgit v1.2.3