diff options
| author | Adam Soltys <[email protected]> | 2022-08-24 21:25:51 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-08-24 21:25:51 -0700 |
| commit | cdce31ac0ba880a0d61d7006bf1f02cf8b798b21 (patch) | |
| tree | 2dc12fb726a9d7fe7b577f7b4231cc14ddd1e1b5 /routes | |
| parent | ec0648629d74899f84fd26370a6548995245cfa6 (diff) | |
| download | coinos-server-cdce31ac0ba880a0d61d7006bf1f02cf8b798b21.tar.gz coinos-server-cdce31ac0ba880a0d61d7006bf1f02cf8b798b21.zip | |
generate more blocks
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/invoices.js | 2 |
1 files changed, 0 insertions, 2 deletions
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"); |
