aboutsummaryrefslogtreecommitdiffstats
path: root/sendPayment.js
diff options
context:
space:
mode:
Diffstat (limited to 'sendPayment.js')
-rw-r--r--sendPayment.js2
1 files changed, 1 insertions, 1 deletions
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 }