diff options
| author | Adam Soltys <[email protected]> | 2021-05-27 11:30:07 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-06-09 16:06:06 -0700 |
| commit | 57414b3d332e986af6b1ef48136e0d0ef918a95b (patch) | |
| tree | 291f4c7cf5e60683ee6d4af7d41468cb1d3e3e07 /routes/payments.js | |
| parent | 6bf4bf019f70435bcea1e4bb586f91fec6ddcee5 (diff) | |
| download | coinos-server-57414b3d332e986af6b1ef48136e0d0ef918a95b.tar.gz coinos-server-57414b3d332e986af6b1ef48136e0d0ef918a95b.zip | |
deps cleanup
Diffstat (limited to 'routes/payments.js')
| -rw-r--r-- | routes/payments.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/routes/payments.js b/routes/payments.js index e8e94d8a..005223af 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -1,5 +1,4 @@ -const BitcoinCore = require("bitcoin-core"); -const lnd = require("../lib/lnd"); +const BitcoinCore = require("@asoltys/bitcoin-core"); const { Op } = require("sequelize"); const { join } = require("path"); const fs = require("fs"); @@ -93,7 +92,7 @@ ah(async () => { const lnapath = join(require("os").homedir(), ".lightningreg/regtest"); lna = require("clightning-client")(lnapath); } else { - lna = lnd(config.lna); + throw new Error("lnd not supported"); } app.post("/lightning/channel", require("./lightning/channel")); |
