diff --git a/modules/preloader/include/mistAPI.js b/modules/preloader/include/mistAPI.js index 78cfbad3b..d931ac38a 100644 --- a/modules/preloader/include/mistAPI.js +++ b/modules/preloader/include/mistAPI.js @@ -57,7 +57,7 @@ module.exports = () => { ipcRenderer.send('mistAPI_requestAccount'); }, solidity: { - version: packageJson.dependencies.solc, + version: String(packageJson.dependencies.solc).match(/\d+\.\d+\.\d+/)[0], }, sounds: { bip: function playSound() {