aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-01-05 18:39:30 -0800
committerAdam Soltys <[email protected]>2020-01-05 18:39:30 -0800
commitb0e279aff714164a01ece9d2d933e4649d3ad48c (patch)
tree2ceabc01f0e8f3f54e4f91ec4aed98bcc43c1488 /index.js
parent3b841f05921311cf149b7987d76738fcb053a52e (diff)
downloadcoinos-server-b0e279aff714164a01ece9d2d933e4649d3ad48c.tar.gz
coinos-server-b0e279aff714164a01ece9d2d933e4649d3ad48c.zip
queue on-chain payments
Diffstat (limited to 'index.js')
-rw-r--r--index.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/index.js b/index.js
index 5a0c1df6..10741d27 100644
--- a/index.js
+++ b/index.js
@@ -4,10 +4,10 @@ const cookieParser = require("cookie-parser");
const BitcoinCore = require("bitcoin-core");
const cors = require("cors");
const express = require("express");
-const graphqlHTTP = require("express-graphql");
const morgan = require("morgan");
const config = require("./config");
+const bolt11 = require("bolt11");
const l = console.log;
@@ -30,15 +30,6 @@ const l = console.log;
app.use(passport.initialize());
- app.use(
- "/graphql",
- auth,
- graphqlHTTP({
- schema: db.gqlschema,
- graphiql: true
- })
- );
-
require("./rates")(app, socket);
const seen = [];