diff options
| author | Adam Soltys <[email protected]> | 2023-02-11 07:34:13 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-11 07:34:44 +0000 |
| commit | a059697ad1dab4308f9bc9c2957dc574f6e5518a (patch) | |
| tree | 18d5495a2f099f1ec7bc1918aba3d93e80f54f08 /lib | |
| parent | 940b04615053b46e2f91ae076fd6d7b17edcab9a (diff) | |
| download | coinos-server-a059697ad1dab4308f9bc9c2957dc574f6e5518a.tar.gz coinos-server-a059697ad1dab4308f9bc9c2957dc574f6e5518a.zip | |
remove tip limit
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/invoices.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/invoices.js b/lib/invoices.js index 86d48bd8..ddb378cf 100644 --- a/lib/invoices.js +++ b/lib/invoices.js @@ -16,7 +16,6 @@ export let generate = async ({ invoice, user, sender, memo }) => { tip = parseInt(tip || 0); if (amount < 0) fail("amount out of range"); - if (tip > 5 * amount || tip < 0) fail("tip amount out of range"); if (!user) user = sender; let uid = await g(`user:${user.username.toLowerCase()}`); |
