diff --git a/package.json b/package.json index 6c11dff..d77ffda 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tornado/tornado-oracles", - "version": "2.0.0", + "version": "2.1.0", "description": "Gas oracle for Tornado-specific transactions", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/src/feeOracleV5.ts b/src/feeOracleV5.ts index 3bff8f6..5ad7867 100644 --- a/src/feeOracleV5.ts +++ b/src/feeOracleV5.ts @@ -19,7 +19,7 @@ export class TornadoFeeOracleV5 extends TornadoFeeOracle implements ITornadoFeeO const oracleConfig = { chainId, defaultRpc: rpcUrl, - minPriority: chainId === 1 || chainId === 5 ? 2 : 0.05, + minPriority: chainId === ChainId.MAINNET || chainId === ChainId.GOERLI ? 2 : chainId === ChainId.BSC ? 3 : 0.05, percentile: 5, blocksCount: 20, defaultFallbackGasPrices: defaultGasPrices,