aboutsummaryrefslogtreecommitdiffstats
path: root/sendCoins.js
diff options
context:
space:
mode:
Diffstat (limited to 'sendCoins.js')
-rw-r--r--sendCoins.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/sendCoins.js b/sendCoins.js
index b1456798..63f50355 100644
--- a/sendCoins.js
+++ b/sendCoins.js
@@ -63,7 +63,7 @@ module.exports = (app, bc, db, emit) => async (req, res) => {
amount: -total,
user_id: req.user.id,
hash: txid,
- rate: app.get("rates").ask,
+ rate: app.get("ask"),
currency: "CAD"
},
{ transaction }