From 71b638e64035de4e0b81489cf2abd61bccc3043c Mon Sep 17 00:00:00 2001 From: Danil Kovtonyuk Date: Tue, 29 Jun 2021 00:49:38 +0300 Subject: [PATCH] fix: variables --- src/worker.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/worker.js b/src/worker.js index 0ba72ed..6965e5e 100644 --- a/src/worker.js +++ b/src/worker.js @@ -8,7 +8,7 @@ const { getInstance, fromDecimals } = require('./utils') const { jobType, status } = require('./constants') const { netId, - gasPrices: GAS_PRICES, + gasPrices, gasLimits, instances, privateKey, @@ -30,7 +30,7 @@ function start() { const { CONFIRMATIONS, MAX_GAS_PRICE } = process.env const gasPriceOracleConfig = { chainId: netId, - defaultFallbackGasPrices: GAS_PRICES, + defaultFallbackGasPrices: gasPrices, } gasPriceOracle = new GasPriceOracle(gasPriceOracleConfig) @@ -55,7 +55,7 @@ async function getGasPrices() { return await gasPriceOracle.gasPrices() } - return GAS_PRICES + return gasPrices } async function checkTornadoFee({ args, contract }) {