From 96c0f755328986002f79185bef8d6fb45c0fe0d3 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 18 May 2020 15:52:45 -0700 Subject: fee variable --- routes/bitcoin/send.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/bitcoin') diff --git a/routes/bitcoin/send.js b/routes/bitcoin/send.js index d9324028..b47af00e 100644 --- a/routes/bitcoin/send.js +++ b/routes/bitcoin/send.js @@ -47,7 +47,7 @@ module.exports = async (req, res) => { if (total > account.balance) { l.error("amount exceeds balance", amount, fee, account.balance); - throw new Error("insufficient funds"); + throw new Error("Insufficient funds"); } account.balance -= total; -- cgit v1.2.3