diff options
| author | Adam Soltys <[email protected]> | 2020-03-28 23:13:13 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-03-28 23:13:13 -0700 |
| commit | a0422300e2b13896634eda12930959bc64ba7dc9 (patch) | |
| tree | 481915dc9e311d7dfc31d0b237b2c06ad5fa26a5 /routes/liquid/send.js | |
| parent | 5142c8cfcffd59d04ec18e67183a1866324d9209 (diff) | |
| download | coinos-server-a0422300e2b13896634eda12930959bc64ba7dc9.tar.gz coinos-server-a0422300e2b13896634eda12930959bc64ba7dc9.zip | |
handle tips and invoices better
Diffstat (limited to 'routes/liquid/send.js')
| -rw-r--r-- | routes/liquid/send.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/liquid/send.js b/routes/liquid/send.js index eb369a01..c657ae30 100644 --- a/routes/liquid/send.js +++ b/routes/liquid/send.js @@ -34,6 +34,8 @@ module.exports = async (req, res) => { total = total - change; let amount = total - fee; + l.info("attempting liquid payment", user.username, amount, fee); + try { await db.transaction(async transaction => { let { balance } = await db.User.findOne({ |
