diff options
| author | Adam Soltys <[email protected]> | 2021-01-13 22:31:48 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-01-13 22:31:48 -0800 |
| commit | b605dd257984d3384c680de2cf64e44bfd3484ca (patch) | |
| tree | 17b6f26bc981ac6a3ace0aaabb809fe4d0d1061c /lib/send.js | |
| parent | 5cd96cc027be811116b147e0614aca39ce164c6b (diff) | |
| download | coinos-server-b605dd257984d3384c680de2cf64e44bfd3484ca.tar.gz coinos-server-b605dd257984d3384c680de2cf64e44bfd3484ca.zip | |
disable insecure endpoints
Diffstat (limited to 'lib/send.js')
| -rw-r--r-- | lib/send.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/send.js b/lib/send.js index b4fc9ac9..733c3cfb 100644 --- a/lib/send.js +++ b/lib/send.js @@ -1,6 +1,7 @@ const bolt11 = require("bolt11"); send = async (amount, memo, hash, user) => { + return res.status(500).send("Internal payments are temporarily disabled"); let payreq = bolt11.decode(hash); if (!amount) amount = payreq.satoshis; |
