Fix some silly linting issues.

feature/default_network_editable
Kevin Serrano 7 years ago
parent 3d627e869b
commit 414f89668e
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1
  1. 2
      app/scripts/lib/tx-gas-utils.js
  2. 2
      app/scripts/notice-controller.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
}

@ -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)

Loading…
Cancel
Save