diff options
| author | Adam Soltys <[email protected]> | 2019-10-27 20:32:46 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2019-10-27 20:32:46 -0700 |
| commit | 9c85d8117128a7eed4040129f8fd175f4899fcf8 (patch) | |
| tree | 95e49979c03512f422ef92385a1bdf1fd8129747 /sendCoins.js | |
| parent | babd01948f5e01d326feece425654cb17b6c7d9f (diff) | |
| download | coinos-server-9c85d8117128a7eed4040129f8fd175f4899fcf8.tar.gz coinos-server-9c85d8117128a7eed4040129f8fd175f4899fcf8.zip | |
record rate properly
Diffstat (limited to 'sendCoins.js')
| -rw-r--r-- | sendCoins.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sendCoins.js b/sendCoins.js index b1456798..63f50355 100644 --- a/sendCoins.js +++ b/sendCoins.js @@ -63,7 +63,7 @@ module.exports = (app, bc, db, emit) => async (req, res) => { amount: -total, user_id: req.user.id, hash: txid, - rate: app.get("rates").ask, + rate: app.get("ask"), currency: "CAD" }, { transaction } |
