diff options
| author | Adam Soltys <[email protected]> | 2021-09-24 02:19:30 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-09-24 02:19:30 -0400 |
| commit | 18814242ad055ecd6f9de1d23209958e12aee69c (patch) | |
| tree | f9abc8b8716b5587c8a71700df62ebfe2098f4f6 /routes/lightning | |
| parent | fd44b77a4ddac5beef34f65be8e5558f4b4291f9 (diff) | |
| download | coinos-server-18814242ad055ecd6f9de1d23209958e12aee69c.tar.gz coinos-server-18814242ad055ecd6f9de1d23209958e12aee69c.zip | |
always create account on issuance
Diffstat (limited to 'routes/lightning')
| -rw-r--r-- | routes/lightning/receive.js | 2 | ||||
| -rw-r--r-- | routes/lightning/send.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js index d974860e..ffc0ae03 100644 --- a/routes/lightning/receive.js +++ b/routes/lightning/receive.js @@ -93,7 +93,7 @@ const handlePayment = async (msg) => { user.account = account; try { - await sendLiquid({ + sendLiquid({ address: c.address, amount: total - 100, user, diff --git a/routes/lightning/send.js b/routes/lightning/send.js index f3c0da46..f6bd1b36 100644 --- a/routes/lightning/send.js +++ b/routes/lightning/send.js @@ -5,7 +5,7 @@ module.exports = ah(async (req, res) => { try { res.send(await send(amount, memo, payreq, user)); } catch (e) { - l.error("problem sending lightning payment", user.username, e.message, e.stack); + l.error("problem sending lightning payment", user.username, e.message); res.status(500).send(e.message); } }); |
