aboutsummaryrefslogtreecommitdiffstats
path: root/routes/payments.js
diff options
context:
space:
mode:
authorGyulai Zoltan <[email protected]>2021-10-12 13:53:33 +0300
committerGyulai Zoltan <[email protected]>2021-10-12 13:53:33 +0300
commit92ffc6e2e597867a55b592a20b16c233efad9cef (patch)
tree9bfad78872592637a241624de9edde36986b4b07 /routes/payments.js
parent5f949a00ab98792db22bb5ab0104a06c714932f2 (diff)
downloadcoinos-server-withdraw.tar.gz
coinos-server-withdraw.zip
feat: added lightning withdrawal with hardcoded fee estimationwithdraw
Diffstat (limited to 'routes/payments.js')
-rw-r--r--routes/payments.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/payments.js b/routes/payments.js
index cb09de63..6f4601db 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -128,6 +128,7 @@ ah(async () => {
app.post("/lightning/invoice", require("./lightning/invoice"));
app.post("/lightning/query", auth, require("./lightning/query"));
app.post("/lightning/send", auth, require("./lightning/send"));
+ app.post("/lightning/withdraw", auth, require("./lightning/withdraw"));
require("./lightning/receive");
}