aboutsummaryrefslogtreecommitdiffstats
path: root/routes/bitcoin
diff options
context:
space:
mode:
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 ddf07f3c..2d539d5a 100644
--- a/routes/bitcoin/send.js
+++ b/routes/bitcoin/send.js
@@ -53,7 +53,7 @@ module.exports = ah(async (req, res) => {
await account.save({ transaction });
params = {
- amount: -total,
+ amount: -amount,
fee,
memo,
account_id: account.id,