fixLoading_local_compiler

pull/1469/head
yann300 3 years ago
parent 26e4c8977f
commit f7c6ac368e
  1. 3
      libs/remix-solidity/src/compiler/compiler-utils.ts

@ -23,6 +23,9 @@ export function urlFromVersion (version) {
*/
export function canUseWorker (selectedVersion) {
const version = semver.coerce(selectedVersion)
if (!version) {
return browserSupportWorker()
}
const isNightly = selectedVersion.includes('nightly')
return browserSupportWorker() && (
// All compiler versions (including nightlies) after 0.6.3 are wasm compiled

Loading…
Cancel
Save