aboutsummaryrefslogtreecommitdiffstats
path: root/routes/bitcoin
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-08-11 11:48:49 -0700
committerAdam Soltys <[email protected]>2020-08-11 11:48:49 -0700
commit10bfc37a656e9862051a6a58ea2acdc561092f6b (patch)
tree77018a5bc2b3d0b75802f2e34446e489ad08aa5c /routes/bitcoin
parent3980fec05509a060ac41f98b4dd126a13e4bc9cd (diff)
downloadcoinos-server-10bfc37a656e9862051a6a58ea2acdc561092f6b.tar.gz
coinos-server-10bfc37a656e9862051a6a58ea2acdc561092f6b.zip
check password api
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,