diff options
| author | Adam Soltys <[email protected]> | 2024-02-21 22:04:58 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-02-21 22:04:58 +0000 |
| commit | 84c9a28988725946745b8d42ecf8621070cab1b8 (patch) | |
| tree | 98bf2b4c26aa69fe5f3cc541cb835abded653d42 /lib | |
| parent | 10bf90960f75304c351bc3bf56c199777916fbad (diff) | |
| download | coinos-server-84c9a28988725946745b8d42ecf8621070cab1b8.tar.gz coinos-server-84c9a28988725946745b8d42ecf8621070cab1b8.zip | |
set limit
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/payments.js | 2 |
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]; |
