aboutsummaryrefslogtreecommitdiffstats
path: root/routes/lightning
diff options
context:
space:
mode:
Diffstat (limited to 'routes/lightning')
-rw-r--r--routes/lightning/receive.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js
index 39c5be15..8d1e8917 100644
--- a/routes/lightning/receive.js
+++ b/routes/lightning/receive.js
@@ -50,7 +50,8 @@ const handlePayment = async msg => {
received: true,
confirmed: true,
network: "lightning",
- tip
+ tip,
+ invoice_id: invoice.id
},
{ transaction }
);