diff options
Diffstat (limited to 'routes/lightning/invoice.js')
| -rw-r--r-- | routes/lightning/invoice.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/routes/lightning/invoice.js b/routes/lightning/invoice.js index 3f4ab1db..3b453a73 100644 --- a/routes/lightning/invoice.js +++ b/routes/lightning/invoice.js @@ -3,17 +3,6 @@ module.exports = async (req, res) => { l.info("adding lightning invoice", req.user.username, amount, tip); - /* - const exists = await db.Invoice.findOne({ - where: { - [Op.or]: { - address: invoice.address || "undefined", - text: invoice.text - } - } - }); - */ - try { if (config.lna.clightning) { const invoice = await lnb.invoice(`${amount + tip}sat` || "any", new Date(), "", 360); |
