mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-05-08 17:44:59 -04:00
fix: default rpc for gas price oracle
This commit is contained in:
parent
06e18dda28
commit
37d9cfedfa
2 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue