mirror of
https://github.com/tornadocash/tornado-relayer
synced 2024-02-02 15:04:06 +01:00
fix: default rpc for gas price oracle
This commit is contained in:
parent
06e18dda28
commit
37d9cfedfa
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "relay",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "Relayer for Tornado.cash privacy solution. https://tornado.cash",
|
||||
"scripts": {
|
||||
"server": "node src/server.js",
|
||||
|
@ -21,6 +21,7 @@ const {
|
||||
privateKey,
|
||||
gasLimits,
|
||||
instances,
|
||||
oracleRpcUrl,
|
||||
tornadoServiceFee,
|
||||
miningServiceFee,
|
||||
} = require('./config')
|
||||
@ -40,7 +41,7 @@ let minerContract
|
||||
let proxyContract
|
||||
const redis = new Redis(redisUrl)
|
||||
const redisSubscribe = new Redis(redisUrl)
|
||||
const gasPriceOracle = new GasPriceOracle({ defaultRpc: httpRpcUrl })
|
||||
const gasPriceOracle = new GasPriceOracle({ defaultRpc: oracleRpcUrl })
|
||||
|
||||
async function fetchTree() {
|
||||
const elements = await redis.get('tree:elements')
|
||||
|
Loading…
Reference in New Issue
Block a user