mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-05-08 17:44:59 -04:00
fix: variables
This commit is contained in:
parent
3d7a9b5f93
commit
71b638e640
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue