diff options
| author | Adam Soltys <[email protected]> | 2020-01-27 05:13:33 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-01-27 05:13:35 +0000 |
| commit | e527ae46599e3328917a8d84fb49751c955d5cbd (patch) | |
| tree | 1fd7e585e466a1246b9863bab8e48b9e74c277ee /liquidPayments.js | |
| parent | 4ea9df7cda9d0c8f320c46a6d3d46ecd8b3b0d8e (diff) | |
| download | coinos-server-e527ae46599e3328917a8d84fb49751c955d5cbd.tar.gz coinos-server-e527ae46599e3328917a8d84fb49751c955d5cbd.zip | |
use elements lib
Diffstat (limited to 'liquidPayments.js')
| -rw-r--r-- | liquidPayments.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/liquidPayments.js b/liquidPayments.js index eba2eb09..6498be40 100644 --- a/liquidPayments.js +++ b/liquidPayments.js @@ -3,7 +3,7 @@ const zmq = require("zeromq"); const config = require("./config"); const Sequelize = require("sequelize"); const BitcoinCore = require("bitcoin-core"); -const bitcoin = require("bitcoinjs-lib"); +const bitcoin = require("elementsjs-lib"); const l = console.log; const zmqRawBlock = zmq.socket("sub"); @@ -111,7 +111,6 @@ module.exports = (app, db, addresses, payments, emit) => { for (let i = 0; i < arr.length; i++) { let hash = arr[i]; - l(hash); let p = await db.Payment.findOne({ include: [{ model: db.User, as: "user" }], where: { hash, confirmed: 0, received: 1 } |
