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 --- bitcoinPayments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitcoinPayments.js') diff --git a/bitcoinPayments.js b/bitcoinPayments.js index b3d54a21..c32d11c5 100644 --- a/bitcoinPayments.js +++ b/bitcoinPayments.js @@ -81,7 +81,7 @@ module.exports = (app, bc, db, addresses, payments, emit) => { hash, amount: o.value, currency: "CAD", - rate: app.get("rates").ask, + rate: app.get("ask"), received: true, tip, confirmed -- cgit v1.2.3