This commit is contained in:
Roman Storm 2020-03-13 11:20:06 -07:00
parent 6186faa4b0
commit 18a801093e
No known key found for this signature in database
GPG Key ID: 522F2A785F34E71F
2 changed files with 1 additions and 2 deletions

@ -1,7 +1,7 @@
require('dotenv').config() require('dotenv').config()
module.exports = { module.exports = {
version: '2.2', version: '2.3',
netId: Number(process.env.NET_ID) || 42, netId: Number(process.env.NET_ID) || 42,
redisUrl: process.env.REDIS_URL, redisUrl: process.env.REDIS_URL,
rpcUrl: process.env.RPC_URL || 'https://kovan.infura.io/', rpcUrl: process.env.RPC_URL || 'https://kovan.infura.io/',

@ -59,7 +59,6 @@ async function relayController(req, resp) {
return resp.status(400).json({ error: 'Relayer address is invalid' }) return resp.status(400).json({ error: 'Relayer address is invalid' })
} }
await redisClient.set('foo', 'bar')
requestJob = await withdrawQueue.add({ requestJob = await withdrawQueue.add({
contract, nullifierHash, root, proof, args, currency, amount, fee: fee.toString(), refund: refund.toString() contract, nullifierHash, root, proof, args, currency, amount, fee: fee.toString(), refund: refund.toString()
}, { removeOnComplete: true }) }, { removeOnComplete: true })