aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-08-03 02:16:30 -0700
committerAdam Soltys <[email protected]>2021-08-03 02:27:54 -0700
commitc6ff23c0c5174ae2ac7f33fdd2b952bbe50750da (patch)
tree94b48637c403ace1e2e1d63132c8d19791be9f78 /routes
parent1344458e0cf3322253599524899b3cce565cf1af (diff)
downloadcoinos-server-c6ff23c0c5174ae2ac7f33fdd2b952bbe50750da.tar.gz
coinos-server-c6ff23c0c5174ae2ac7f33fdd2b952bbe50750da.zip
re-enable lnd support
Diffstat (limited to 'routes')
-rw-r--r--routes/payments.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/payments.js b/routes/payments.js
index e78730d2..b12ae978 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -96,7 +96,7 @@ ah(async () => {
if (config.lna.clightning) {
lna = require("clightning-client")(config.lna.dir);
} else {
- throw new Error("lnd not supported");
+ lna = lnd(config.lna);
}
app.post("/lightning/channel", require("./lightning/channel"));