From 9c85d8117128a7eed4040129f8fd175f4899fcf8 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 27 Oct 2019 20:32:46 -0700 Subject: record rate properly --- sendCoins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sendCoins.js') 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 } -- cgit v1.2.3