Merge pull request #1596 from ethereum/fixOptimize

Fix optimize setting
pull/1/head
yann300 6 years ago committed by GitHub
commit 6239bdba2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/app/tabs/compile-tab.js

@ -61,7 +61,8 @@ module.exports = class CompileTab {
selectedVersion: null,
baseurl: 'https://solc-bin.ethereum.org/bin'
}
self.data.optimize = !!self._components.queryParams.get().optimize
self.data.optimize = self._components.queryParams.get().optimize
self.data.optimize = self.data.optimize === 'true'
self._components.queryParams.update({ optimize: self.data.optimize })
self._deps.compiler.setOptimize(self.data.optimize)

Loading…
Cancel
Save