fix optimizer settings

pull/2054/head^2
yann300 3 years ago
parent 746b8fb360
commit 8730a4cb1f
  1. 2
      libs/remix-core-plugin/src/lib/compiler-fetch-and-compile.ts

@ -108,7 +108,7 @@ export class FetchAndCompile extends Plugin {
language: data.metadata.language, language: data.metadata.language,
evmVersion: data.metadata.settings.evmVersion, evmVersion: data.metadata.settings.evmVersion,
optimize: data.metadata.settings.optimizer.enabled, optimize: data.metadata.settings.optimizer.enabled,
runs: data.metadata.settings.runs runs: data.metadata.settings.optimizer.runs
} }
try { try {
setTimeout(_ => this.emit('compiling', settings), 0) setTimeout(_ => this.emit('compiling', settings), 0)

Loading…
Cancel
Save