aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/invoices.js1
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()}`);