aboutsummaryrefslogtreecommitdiffstats
path: root/routes/lightning/receive.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-24 13:50:18 -0800
committerAdam Soltys <[email protected]>2022-11-24 13:50:18 -0800
commitc3f0689dc728b2ed86792ad180132165479c05d5 (patch)
tree5bb2778e60c411fe692190f03b960d5068024fd0 /routes/lightning/receive.js
parent40e1723e0432d1656cbc5fbbd5e79a981d97809b (diff)
downloadcoinos-server-c3f0689dc728b2ed86792ad180132165479c05d5.tar.gz
coinos-server-c3f0689dc728b2ed86792ad180132165479c05d5.zip
remove lnd support
Diffstat (limited to 'routes/lightning/receive.js')
-rw-r--r--routes/lightning/receive.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js
index f4a20a59..af8415f1 100644
--- a/routes/lightning/receive.js
+++ b/routes/lightning/receive.js
@@ -6,7 +6,6 @@ import { notify } from "$lib/notifications";
import { callWebhook } from "$lib/webhooks";
import { computeConversionFee } from "./conversionFee";
import { sendLiquid } from "$routes/liquid/send";
-import { subscribeToInvoices } from "lightning";
import lnd from "$lib/lnd";
import ln from "$lib/ln";
import { l, err, warn } from "$lib/logging";
@@ -163,7 +162,4 @@ if (config.lna.clightning) {
};
poll(ln);
-} else {
- const invoices = subscribeToInvoices({ lnd });
- invoices.on("invoice_updated", handlePayment);
}