diff options
| author | Adam Soltys <[email protected]> | 2020-08-20 20:24:23 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-08-20 20:24:23 -0700 |
| commit | 6eed9f32af9132198ec8b1ca18203a4ecd2c2aa9 (patch) | |
| tree | 7b835286deea045d815cda414f91857a5dfc3feb | |
| parent | cc6249b0afe23f7a9d43c58ad6da79595c8c1645 (diff) | |
| download | coinos-server-6eed9f32af9132198ec8b1ca18203a4ecd2c2aa9.tar.gz coinos-server-6eed9f32af9132198ec8b1ca18203a4ecd2c2aa9.zip | |
lookup liquid invoices by unconfidential address
| -rw-r--r-- | routes/liquid/receive.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/liquid/receive.js b/routes/liquid/receive.js index 49c95712..9f548b9c 100644 --- a/routes/liquid/receive.js +++ b/routes/liquid/receive.js @@ -60,7 +60,7 @@ zmqRawBlock.connect(config.liquid.zmqrawblock); zmqRawBlock.subscribe("rawblock"); const zmqRawTx = zmq.socket("sub"); -zmqRawTx.connect("tcp://127.0.0.1:18603"); +zmqRawTx.connect(config.liquid.zmqrawtx); zmqRawTx.subscribe("rawtx"); zmqRawTx.on("message", async (topic, message, sequence) => { @@ -86,7 +86,7 @@ zmqRawTx.on("message", async (topic, message, sequence) => { let invoice = await db.Invoice.findOne({ where: { - address, + unconfidential: address, user_id: user.id, network: "LBTC", }, |
