diff options
| author | Adam Soltys <[email protected]> | 2021-08-13 09:21:30 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-08-13 09:21:30 -0400 |
| commit | 1ea5f84aebaf916cae4ad97747ceb66e47c32cc7 (patch) | |
| tree | de09d1ee99bcc4e2a0a5e53c0fedf77316d4b086 /routes | |
| parent | 321ce8473ec1a9df367af057c6e35e228e926e65 (diff) | |
| download | coinos-server-1ea5f84aebaf916cae4ad97747ceb66e47c32cc7.tar.gz coinos-server-1ea5f84aebaf916cae4ad97747ceb66e47c32cc7.zip | |
get invoice by address
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/bitcoin/receive.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/bitcoin/receive.js b/routes/bitcoin/receive.js index d9274935..327d1a0c 100644 --- a/routes/bitcoin/receive.js +++ b/routes/bitcoin/receive.js @@ -54,6 +54,7 @@ zmqRawTx.on("message", async (topic, message, sequence) => { const invoice = await db.Invoice.findOne({ where: { + address, user_id: user.id, network: "bitcoin", }, |
