diff options
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/payments.js | 2 |
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")); |
