aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2017-12-29 06:55:42 +0800
committerGitHub <noreply@github.com>2017-12-29 06:55:42 +0800
commita22e98910d31ab1f79c0b23cb9b4c375ee0c84c3 (patch)
treeee887e716a21f8418476981f852a661c06bbdd07 /app/scripts/lib
parent06f496310ce7d719bbb5690f307db143ba57a1a7 (diff)
parentc3d85c0a66676a15b598424e379610237243cb10 (diff)
downloadtangerine-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.js2
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
}