aboutsummaryrefslogtreecommitdiffstats
path: root/bitcoinPayments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-01-29 14:33:51 -0800
committerAdam Soltys <[email protected]>2020-01-29 14:33:51 -0800
commitc3ed4317d37f1c760392d9a89610d07ccd3a7d03 (patch)
tree3c73ea9e8ee04c0585a3dce4eb5de5a8f2634100 /bitcoinPayments.js
parente34f41697eb4b96508dc27197b91ef06bd47a641 (diff)
downloadcoinos-server-c3ed4317d37f1c760392d9a89610d07ccd3a7d03.tar.gz
coinos-server-c3ed4317d37f1c760392d9a89610d07ccd3a7d03.zip
set payment currency
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 95fbcc5b..d3f2f1c4 100644
--- a/bitcoinPayments.js
+++ b/bitcoinPayments.js
@@ -80,7 +80,7 @@ module.exports = (app, bc, db, addresses, payments, emit) => {
user_id: user.id,
hash,
amount: o.value,
- currency: "CAD",
+ currency: user.currency,
rate: app.get("ask"),
received: true,
tip,