1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01: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 simulationFails
try {
estimatedGasHex = await this.estimateTxGas(txMeta, block.gasLimit)
estimatedGasHex = await this.estimateTxGas(txMeta)
} catch (error) {
log.warn(error)
simulationFails = {