From cdce31ac0ba880a0d61d7006bf1f02cf8b798b21 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 24 Aug 2022 21:25:51 -0700 Subject: generate more blocks --- routes/invoices.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'routes') diff --git a/routes/invoices.js b/routes/invoices.js index ccf741f5..02a8308d 100644 --- a/routes/invoices.js +++ b/routes/invoices.js @@ -31,8 +31,6 @@ app.post( let { liquidAddress, id, invoice, user, tx } = req.body; let { blindkey } = invoice; - if (invoice.text.text) invoice.text = invoice.text.text; - if (invoice.amount < 0) throw new Error("amount out of range"); if (invoice.tip > invoice.amount || invoice.tip > 1000000 || invoice.tip < 0) throw new Error("tip amount out of range"); -- cgit v1.2.3