aboutsummaryrefslogtreecommitdiffstats
path: root/lib/payments.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/payments.js')
-rw-r--r--lib/payments.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/payments.js b/lib/payments.js
index a4063e76..1d69c5b6 100644
--- a/lib/payments.js
+++ b/lib/payments.js
@@ -37,7 +37,8 @@ export let debit = async ({
rate,
}) => {
if (await g("freeze")) fail("Problem sending payment");
- if (!user.unlimited && 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];
@@ -520,7 +521,7 @@ export let build = async ({ amount, address, feeRate, user, subtract }) => {
feeRate = fees.halfHourFee;
}
- if (feeRate < fees.economyFee) fail("fee rate too low");
+ if (feeRate < fees.economyFee) fail("fee rate too low");
let replaceable = true;