mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Lints.
This commit is contained in:
parent
2ae62a4573
commit
585284cb88
@ -261,7 +261,7 @@ IdentityStore.prototype.addUnconfirmedTransaction = function (txParams, onTxDone
|
|||||||
// 1 billion gas for estimation
|
// 1 billion gas for estimation
|
||||||
var gasLimit = '0x3b9aca00'
|
var gasLimit = '0x3b9aca00'
|
||||||
estimationParams.gas = gasLimit
|
estimationParams.gas = gasLimit
|
||||||
query.estimateGas(estimationParams, function(err, result){
|
query.estimateGas(estimationParams, function (err, result) {
|
||||||
if (err) return cb(err.message || err)
|
if (err) return cb(err.message || err)
|
||||||
if (result === estimationParams.gas) {
|
if (result === estimationParams.gas) {
|
||||||
txData.simulationFails = true
|
txData.simulationFails = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user