aboutsummaryrefslogtreecommitdiffstats
path: root/routes/payments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-07-13 00:16:31 -0400
committerAdam Soltys <[email protected]>2020-07-13 00:16:31 -0400
commit9a23c64efafce05a8429087479c01fbf855011af (patch)
tree0aedcc50b772a813be90dac99971311a822238c5 /routes/payments.js
parent63a3b3275bd58d3fe5ab6ffb41e6beb6b7c47cde (diff)
downloadcoinos-server-9a23c64efafce05a8429087479c01fbf855011af.tar.gz
coinos-server-9a23c64efafce05a8429087479c01fbf855011af.zip
don't require auth for channel requests
Diffstat (limited to 'routes/payments.js')
-rw-r--r--routes/payments.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/payments.js b/routes/payments.js
index 63ecb70b..9122fbaf 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -43,8 +43,8 @@ const { join } = require("path");
lnb = lnd(config.lnb);
}
- app.post("/lightning/channel", auth, require("./lightning/channel"));
- app.post("/lightning/channelRequest", auth, require("./lightning/channelRequest"));
+ app.post("/lightning/channel", require("./lightning/channel"));
+ app.post("/lightning/channelRequest", require("./lightning/channelRequest"));
app.post("/lightning/invoice", auth, require("./lightning/invoice"));
app.post("/lightning/query", auth, require("./lightning/query"));
app.post("/lightning/send", auth, require("./lightning/send"));