FIX: lnd paid invoice memo

This commit is contained in:
Overtorment
2018-12-03 14:37:17 +00:00
parent 748b5fd733
commit e72fcb3b0f
2 changed files with 1 additions and 1 deletions

View File

@@ -135,7 +135,6 @@ router.post('/payinvoice', async function(req, res) {
if (payment && payment.payment_route && payment.payment_route.total_amt_msat) {
userBalance -= parseInt((payment.payment_route.total_fees_msat + payment.payment_route.total_amt_msat) / 1000);
u.saveBalance(userBalance);
payment.description = info.description;
payment.pay_req = req.body.invoice;
payment.decoded = info;
u.savePaidLndInvoice(payment);