diff options
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/payments.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/routes/payments.js b/routes/payments.js index a4bae562..960b0d39 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -56,6 +56,7 @@ ah(async () => { ).map((p) => p.hash); + /* setInterval(async () => { const unconfirmed = ( await db.Payment.findAll({ @@ -134,14 +135,15 @@ ah(async () => { } }, 50); } + */ if (config.liquid) { lq = new BitcoinCore(config.liquid); rare = new BitcoinCore(config.rare); app.post("/liquid/broadcast", optionalAuth, require("./liquid/broadcast")); - app.get("/liquid/generate", auth, require("./liquid/generate")); - app.post("/liquid/fee", auth, require("./liquid/fee")); - app.post("/liquid/send", auth, require("./liquid/send")); + // app.get("/liquid/generate", auth, require("./liquid/generate")); + // app.post("/liquid/fee", auth, require("./liquid/fee")); + // app.post("/liquid/send", auth, require("./liquid/send")); require("./liquid/receive"); setTimeout(async () => { |
