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:57:31 -0700
commitcfa93d65f113b4eed50cc88be76eeefa04a900eb (patch)
tree169dd69bcab545385811560052a41fe85d9b514b /routes
parent680e82f7d7654db345b6242bfe5b1fb6804ea4ec (diff)
downloadcoinos-server-cfa93d65f113b4eed50cc88be76eeefa04a900eb.tar.gz
coinos-server-cfa93d65f113b4eed50cc88be76eeefa04a900eb.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 a749e333..a171b92f 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"));