From a059697ad1dab4308f9bc9c2957dc574f6e5518a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 11 Feb 2023 07:34:13 +0000 Subject: remove tip limit --- lib/invoices.js | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') 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()}`); -- cgit v1.2.3