mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-08-15 09:35:59 -04:00
fix: maxReceived size
This commit is contained in:
parent
80f6ab4f9d
commit
02ae6bfa23
2 changed files with 9 additions and 2 deletions
|
@ -7,7 +7,14 @@ const redis = new Redis(redisUrl)
|
|||
const ENSResolver = require('./resolver')
|
||||
const resolver = new ENSResolver()
|
||||
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')
|
||||
let contract
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue