fix: variables

This commit is contained in:
Danil Kovtonyuk 2021-06-29 00:49:38 +03:00
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 }) {