diff options
| -rw-r--r-- | routes/lnurl.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/routes/lnurl.js b/routes/lnurl.js index adf4df7c..67f581d1 100644 --- a/routes/lnurl.js +++ b/routes/lnurl.js @@ -129,16 +129,6 @@ app.get( maxSendable = maxSendable || 1000000000; if (parseInt(amount)) minSendable = maxSendable = amount * 1000; - let invoices = await db.Invoice.findAll({ - where: { - amount - }, - order: [["id", "DESC"]], - limit: 1 - }); - - if (invoices.length) await invoices[0].destroy(); - try { const result = await lnurlServer.generateNewUrl("payRequest", { minSendable, |
