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 17:19:45 -0700
commit9c8b16bd3220d58c54dd6a2f5453b90b11905fba (patch)
tree9c5e1d902290a125456323952fdbe51721b0fb81 /routes/bitcoin
parent9aa2ad92973f28dd011ceeb822cca4f666a5b66d (diff)
downloadcoinos-server-9c8b16bd3220d58c54dd6a2f5453b90b11905fba.tar.gz
coinos-server-9c8b16bd3220d58c54dd6a2f5453b90b11905fba.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;