1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

remove gas field, due to alias redundancy.

This commit is contained in:
Kevin Serrano 2016-11-09 16:38:28 -08:00
parent b6b4be61d9
commit e2b2083df0
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

@ -262,7 +262,6 @@ IdentityStore.prototype.addUnconfirmedTransaction = function (txParams, onTxDone
query.estimateGas(txParams, function(err, result){ query.estimateGas(txParams, function(err, result){
if (err) return cb(err) if (err) return cb(err)
txData.estimatedGas = self.addGasBuffer(result) txData.estimatedGas = self.addGasBuffer(result)
txData.txParams.gas = txData.estimatedGas
txData.txParams.gasLimit = txData.estimatedGas txData.txParams.gasLimit = txData.estimatedGas
cb() cb()
}) })