From 97de1b7d9552d56a53c572b39fc7c7bc8cae242b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 5 Aug 2021 11:35:16 -0700 Subject: capture invoice for ln and lbtc payments --- routes/lightning/receive.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'routes/lightning') 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 } ); -- cgit v1.2.3