aboutsummaryrefslogtreecommitdiffstats
path: root/bitcoinPayments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2019-10-27 20:32:46 -0700
committerAdam Soltys <[email protected]>2019-10-27 20:32:46 -0700
commit9c85d8117128a7eed4040129f8fd175f4899fcf8 (patch)
tree95e49979c03512f422ef92385a1bdf1fd8129747 /bitcoinPayments.js
parentbabd01948f5e01d326feece425654cb17b6c7d9f (diff)
downloadcoinos-server-9c85d8117128a7eed4040129f8fd175f4899fcf8.tar.gz
coinos-server-9c85d8117128a7eed4040129f8fd175f4899fcf8.zip
record rate properly
Diffstat (limited to 'bitcoinPayments.js')
-rw-r--r--bitcoinPayments.js2
1 files changed, 1 insertions, 1 deletions
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