1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00
This commit is contained in:
Kevin Serrano 2016-11-15 13:44:22 -08:00
parent 2ae62a4573
commit 585284cb88
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

@ -261,7 +261,7 @@ IdentityStore.prototype.addUnconfirmedTransaction = function (txParams, onTxDone
// 1 billion gas for estimation
var gasLimit = '0x3b9aca00'
estimationParams.gas = gasLimit
query.estimateGas(estimationParams, function(err, result){
query.estimateGas(estimationParams, function (err, result) {
if (err) return cb(err.message || err)
if (result === estimationParams.gas) {
txData.simulationFails = true