diff options
| author | Adam Soltys <[email protected]> | 2021-07-13 10:40:53 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-07-13 10:40:53 -0700 |
| commit | fc3e802856d1209ee9e47e3f0a2a073c475bd7ae (patch) | |
| tree | 7157b64065a311c16f987e385ea65a59024765e4 /routes | |
| parent | c6f968ed6d1429b05029030872a11684e3dac24e (diff) | |
| download | coinos-server-fc3e802856d1209ee9e47e3f0a2a073c475bd7ae.tar.gz coinos-server-fc3e802856d1209ee9e47e3f0a2a073c475bd7ae.zip | |
docker compose override for development ui container
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 () => { |
