diff --git a/package.json b/package.json index a416514..1844d91 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "relay", - "version": "4.1.5", + "version": "4.1.6", "description": "Relayer for Tornado.cash privacy solution. https://tornado.cash", "scripts": { "server": "node src/server.js", diff --git a/src/worker.js b/src/worker.js index 43820f5..8ba2a63 100644 --- a/src/worker.js +++ b/src/worker.js @@ -195,7 +195,6 @@ async function checkRecipient({ data }) { // Checks only for default withdrawals if (data.type !== jobType.TORNADO_WITHDRAW) return - console.log(data.args) const recipient = data.args[2] if (!isAddress(recipient)) throw new Error('Recipient address is invalid') @@ -267,7 +266,7 @@ async function processJob(job) { } async function submitTx(job, retry = 0) { - await checkRecipient(job); + await checkRecipient(job) await checkFee(job) currentTx = await txManager.createTx(await getTxObject(job))