aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/payments.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/payments.js b/lib/payments.js
index dddb2325..a4063e76 100644
--- a/lib/payments.js
+++ b/lib/payments.js
@@ -37,7 +37,7 @@ export let debit = async ({
rate,
}) => {
if (await g("freeze")) fail("Problem sending payment");
- if (!user.verified && amount > 1000000) fail(`⚡️${amount} exceeds max withdrawal of ⚡️1,000,000`);
+ if (!user.unlimited && amount > 1000000) fail(`⚡️${amount} exceeds max withdrawal of ⚡️1,000,000`);
let ref;
let { id: uid, currency, username } = user;
if (!rate) rate = store.rates[currency];