aboutsummaryrefslogtreecommitdiffstats
path: root/routes/bitcoin
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-05-18 15:52:45 -0700
committerAdam Soltys <[email protected]>2020-05-18 15:52:45 -0700
commit96c0f755328986002f79185bef8d6fb45c0fe0d3 (patch)
tree01fdde4408b3c13b93bcdd8c44c5e23df1a87a48 /routes/bitcoin
parente38152e352cdcd6ea5468b21bd9a5740c004c7dc (diff)
downloadcoinos-server-96c0f755328986002f79185bef8d6fb45c0fe0d3.tar.gz
coinos-server-96c0f755328986002f79185bef8d6fb45c0fe0d3.zip
fee variable
Diffstat (limited to 'routes/bitcoin')
-rw-r--r--routes/bitcoin/send.js2
1 files changed, 1 insertions, 1 deletions
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;