diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2017-12-29 06:55:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-29 06:55:42 +0800 |
commit | a22e98910d31ab1f79c0b23cb9b4c375ee0c84c3 (patch) | |
tree | ee887e716a21f8418476981f852a661c06bbdd07 /app/scripts/lib | |
parent | 06f496310ce7d719bbb5690f307db143ba57a1a7 (diff) | |
parent | c3d85c0a66676a15b598424e379610237243cb10 (diff) | |
download | tangerine-wallet-browser-a22e98910d31ab1f79c0b23cb9b4c375ee0c84c3.tar tangerine-wallet-browser-a22e98910d31ab1f79c0b23cb9b4c375ee0c84c3.tar.gz tangerine-wallet-browser-a22e98910d31ab1f79c0b23cb9b4c375ee0c84c3.tar.bz2 tangerine-wallet-browser-a22e98910d31ab1f79c0b23cb9b4c375ee0c84c3.tar.lz tangerine-wallet-browser-a22e98910d31ab1f79c0b23cb9b4c375ee0c84c3.tar.xz tangerine-wallet-browser-a22e98910d31ab1f79c0b23cb9b4c375ee0c84c3.tar.zst tangerine-wallet-browser-a22e98910d31ab1f79c0b23cb9b4c375ee0c84c3.zip |
Merge pull request #2818 from MetaMask/i2782-ethroundingerror
Fix rounding error in ether input on send screen
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/tx-gas-utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/tx-gas-utils.js b/app/scripts/lib/tx-gas-utils.js index 56bee19f7..247b34e47 100644 --- a/app/scripts/lib/tx-gas-utils.js +++ b/app/scripts/lib/tx-gas-utils.js @@ -26,7 +26,7 @@ module.exports = class txProvideUtil { err.message.includes('Transaction execution error.') || err.message.includes('gas required exceeds allowance or always failing transaction') ) - if ( simulationFailed ) { + if (simulationFailed) { txMeta.simulationFails = true return txMeta } |