aboutsummaryrefslogtreecommitdiffstats
path: root/app
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
parent06f496310ce7d719bbb5690f307db143ba57a1a7 (diff)
parentc3d85c0a66676a15b598424e379610237243cb10 (diff)
downloadtangerine-wallet-browser-a22e98910d31ab1f79c0b23cb9b4c375ee0c84c3.tar.gz
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')
-rw-r--r--app/scripts/lib/tx-gas-utils.js2
-rw-r--r--app/scripts/notice-controller.js2
2 files changed, 2 insertions, 2 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
}
diff --git a/app/scripts/notice-controller.js b/app/scripts/notice-controller.js
index db2b8c4f4..14a63eae7 100644
--- a/app/scripts/notice-controller.js
+++ b/app/scripts/notice-controller.js
@@ -77,7 +77,7 @@ module.exports = class NoticeController extends EventEmitter {
return uniqBy(oldNotices.concat(newNotices), 'id')
}
- _filterNotices(notices) {
+ _filterNotices (notices) {
return notices.filter((newNotice) => {
if ('version' in newNotice) {
const satisfied = semver.satisfies(this.version, newNotice.version)