mirror of
https://github.com/tornadocash/tornado-relayer
synced 2024-02-02 15:04:06 +01:00
fix: maxReceived size
This commit is contained in:
parent
80f6ab4f9d
commit
02ae6bfa23
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "relay",
|
"name": "relay",
|
||||||
"version": "4.0.5",
|
"version": "4.0.6",
|
||||||
"description": "Relayer for Tornado.cash privacy solution. https://tornado.cash",
|
"description": "Relayer for Tornado.cash privacy solution. https://tornado.cash",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"server": "node src/server.js",
|
"server": "node src/server.js",
|
||||||
|
@ -7,7 +7,14 @@ const redis = new Redis(redisUrl)
|
|||||||
const ENSResolver = require('./resolver')
|
const ENSResolver = require('./resolver')
|
||||||
const resolver = new ENSResolver()
|
const resolver = new ENSResolver()
|
||||||
const Web3 = require('web3')
|
const Web3 = require('web3')
|
||||||
const web3 = new Web3(wsRpcUrl)
|
const web3 = new Web3(
|
||||||
|
new Web3.providers.WebsocketProvider(wsRpcUrl, {
|
||||||
|
clientConfig: {
|
||||||
|
maxReceivedFrameSize: 100000000,
|
||||||
|
maxReceivedMessageSize: 100000000,
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
)
|
||||||
const MinerABI = require('../abis/mining.abi.json')
|
const MinerABI = require('../abis/mining.abi.json')
|
||||||
let contract
|
let contract
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user