1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Remove 2nd parameter from the call of estimateTxGas (#8783)

This commit is contained in:
Victor Baranov 2020-06-11 15:46:50 +03:00 committed by GitHub
parent a4e5fc934d
commit d0a28087dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ export default class TxGasUtil {
let estimatedGasHex = bnToHex(saferGasLimitBN) let estimatedGasHex = bnToHex(saferGasLimitBN)
let simulationFails let simulationFails
try { try {
estimatedGasHex = await this.estimateTxGas(txMeta, block.gasLimit) estimatedGasHex = await this.estimateTxGas(txMeta)
} catch (error) { } catch (error) {
log.warn(error) log.warn(error)
simulationFails = { simulationFails = {