diff options
| author | Adam Soltys <[email protected]> | 2021-08-05 11:35:16 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-08-05 11:35:16 -0700 |
| commit | 97de1b7d9552d56a53c572b39fc7c7bc8cae242b (patch) | |
| tree | 19e64fae9ba263434205107185a05968f591f081 /routes/lightning | |
| parent | 5858323cf0bb920c9f967239b7a1ef7915cf0824 (diff) | |
| download | coinos-server-97de1b7d9552d56a53c572b39fc7c7bc8cae242b.tar.gz coinos-server-97de1b7d9552d56a53c572b39fc7c7bc8cae242b.zip | |
capture invoice for ln and lbtc payments
Diffstat (limited to 'routes/lightning')
| -rw-r--r-- | routes/lightning/receive.js | 3 |
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 } ); |
