diff options
| -rw-r--r-- | liquidPayments.js | 3 | ||||
| -rw-r--r-- | sendLiquid.js | 1 |
2 files changed, 1 insertions, 3 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 } diff --git a/sendLiquid.js b/sendLiquid.js index ae57b520..17fb2a2e 100644 --- a/sendLiquid.js +++ b/sendLiquid.js @@ -11,7 +11,6 @@ const bc = new BitcoinCore(config.liquid); module.exports = (app, db, emit) => async (req, res) => { let { address, amount } = req.body; let rawtx, hex, fee; - l(address, amount); try { amount = parseInt(amount); |
