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 /sendPayment.js | |
| parent | babd01948f5e01d326feece425654cb17b6c7d9f (diff) | |
| download | coinos-server-9c85d8117128a7eed4040129f8fd175f4899fcf8.tar.gz coinos-server-9c85d8117128a7eed4040129f8fd175f4899fcf8.zip | |
record rate properly
Diffstat (limited to 'sendPayment.js')
| -rw-r--r-- | sendPayment.js | 2 |
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 } |
