fix optimize

pull/3094/head
yann300 6 years ago
parent 1c378c951e
commit 328999ba89
  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