diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-11-10 08:42:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-10 08:42:10 +0800 |
commit | 3775a4bf799efc99cfe3d46b35fc0b39a82c94c2 (patch) | |
tree | 961cea67ce555a778d13f2acd789f05109fe0c84 /app/scripts/lib | |
parent | ebcdb7a4917dae38080b5e73b2ebcf77b7537479 (diff) | |
parent | e2b2083df03b3bd808193ed38536d07ba155ff58 (diff) | |
download | tangerine-wallet-browser-3775a4bf799efc99cfe3d46b35fc0b39a82c94c2.tar tangerine-wallet-browser-3775a4bf799efc99cfe3d46b35fc0b39a82c94c2.tar.gz tangerine-wallet-browser-3775a4bf799efc99cfe3d46b35fc0b39a82c94c2.tar.bz2 tangerine-wallet-browser-3775a4bf799efc99cfe3d46b35fc0b39a82c94c2.tar.lz tangerine-wallet-browser-3775a4bf799efc99cfe3d46b35fc0b39a82c94c2.tar.xz tangerine-wallet-browser-3775a4bf799efc99cfe3d46b35fc0b39a82c94c2.tar.zst tangerine-wallet-browser-3775a4bf799efc99cfe3d46b35fc0b39a82c94c2.zip |
Merge pull request #801 from MetaMask/deadly
Properly implement 20% gas bump
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/idStore.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index 0ce91f471..dd895a6c0 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -262,6 +262,7 @@ IdentityStore.prototype.addUnconfirmedTransaction = function (txParams, onTxDone query.estimateGas(txParams, function(err, result){ if (err) return cb(err) txData.estimatedGas = self.addGasBuffer(result) + txData.txParams.gasLimit = txData.estimatedGas cb() }) } |