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 --- sendPayment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sendPayment.js') diff --git a/sendPayment.js b/sendPayment.js index d4391087..ee2f2c90 100644 --- a/sendPayment.js +++ b/sendPayment.js @@ -55,7 +55,7 @@ module.exports = (app, db, emit, seen, lna, lnb) => async (req, res) => { amount: -total, user_id: req.user.id, hash, - rate: app.get("rates").ask, + rate: app.get("ask"), currency: "CAD" }, { transaction } -- cgit v1.2.3