mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2024-10-01 08:25:37 -04:00
fix: variables
This commit is contained in:
parent
3d7a9b5f93
commit
71b638e640
@ -8,7 +8,7 @@ const { getInstance, fromDecimals } = require('./utils')
|
|||||||
const { jobType, status } = require('./constants')
|
const { jobType, status } = require('./constants')
|
||||||
const {
|
const {
|
||||||
netId,
|
netId,
|
||||||
gasPrices: GAS_PRICES,
|
gasPrices,
|
||||||
gasLimits,
|
gasLimits,
|
||||||
instances,
|
instances,
|
||||||
privateKey,
|
privateKey,
|
||||||
@ -30,7 +30,7 @@ function start() {
|
|||||||
const { CONFIRMATIONS, MAX_GAS_PRICE } = process.env
|
const { CONFIRMATIONS, MAX_GAS_PRICE } = process.env
|
||||||
const gasPriceOracleConfig = {
|
const gasPriceOracleConfig = {
|
||||||
chainId: netId,
|
chainId: netId,
|
||||||
defaultFallbackGasPrices: GAS_PRICES,
|
defaultFallbackGasPrices: gasPrices,
|
||||||
}
|
}
|
||||||
|
|
||||||
gasPriceOracle = new GasPriceOracle(gasPriceOracleConfig)
|
gasPriceOracle = new GasPriceOracle(gasPriceOracleConfig)
|
||||||
@ -55,7 +55,7 @@ async function getGasPrices() {
|
|||||||
return await gasPriceOracle.gasPrices()
|
return await gasPriceOracle.gasPrices()
|
||||||
}
|
}
|
||||||
|
|
||||||
return GAS_PRICES
|
return gasPrices
|
||||||
}
|
}
|
||||||
|
|
||||||
async function checkTornadoFee({ args, contract }) {
|
async function checkTornadoFee({ args, contract }) {
|
||||||
|
Loading…
Reference in New Issue
Block a user