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 {
|
||||
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 }) {
|
||||
|
Loading…
Reference in New Issue
Block a user