Commit 925fb695 authored by yann300's avatar yann300

fix optimize

parent d4d8ec27
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment