diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-12-28 09:27:48 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-12-28 09:27:48 +0800 |
commit | 414f89668eb554e82ab22d3b3080322057388266 (patch) | |
tree | b58edf195385e1238f9e6ce8c1fe9a12aa5fdbdb /app | |
parent | 3d627e869bb7ba1dc0316ad179f9fff07e5cb83c (diff) | |
download | tangerine-wallet-browser-414f89668eb554e82ab22d3b3080322057388266.tar tangerine-wallet-browser-414f89668eb554e82ab22d3b3080322057388266.tar.gz tangerine-wallet-browser-414f89668eb554e82ab22d3b3080322057388266.tar.bz2 tangerine-wallet-browser-414f89668eb554e82ab22d3b3080322057388266.tar.lz tangerine-wallet-browser-414f89668eb554e82ab22d3b3080322057388266.tar.xz tangerine-wallet-browser-414f89668eb554e82ab22d3b3080322057388266.tar.zst tangerine-wallet-browser-414f89668eb554e82ab22d3b3080322057388266.zip |
Fix some silly linting issues.
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/tx-gas-utils.js | 2 | ||||
-rw-r--r-- | app/scripts/notice-controller.js | 2 |
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) |