diff options
| author | Gyulai Zoltan <[email protected]> | 2021-10-12 13:53:33 +0300 |
|---|---|---|
| committer | Gyulai Zoltan <[email protected]> | 2021-10-12 13:53:33 +0300 |
| commit | 92ffc6e2e597867a55b592a20b16c233efad9cef (patch) | |
| tree | 9bfad78872592637a241624de9edde36986b4b07 /routes/payments.js | |
| parent | 5f949a00ab98792db22bb5ab0104a06c714932f2 (diff) | |
| download | coinos-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.js | 1 |
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"); } |
