remove unneded option

This commit is contained in:
Iuri Matias 2018-06-05 08:04:27 -04:00
parent c0e559a7d9
commit 85443959e0
2 changed files with 2 additions and 3 deletions

View File

@ -184,7 +184,7 @@ class Engine {
});
this.ipc = new IPC({logger: this.logger, ipcRole: options.ipcRole});
this.registerModule('solidity', {useIpc: options.useIpc, ipc: this.ipc});
this.registerModule('solidity', {ipc: this.ipc});
this.registerModule('vyper');
this.registerModule('profiler');
this.registerModule('deploytracker');

View File

@ -10,7 +10,6 @@ class Solidity {
this.contractDirectories = embark.config.contractDirectories;
this.solcAlreadyLoaded = false;
this.solcW = null;
this.useIpc = options.useIpc;
embark.registerCompiler(".sol", this.compile_solidity.bind(this));
}
@ -50,7 +49,7 @@ class Solidity {
if (self.solcAlreadyLoaded) {
return callback();
}
self.solcW = new SolcW({logger: self.logger, events: self.events, useIpc: self.useIpc, ipc: self.ipc});
self.solcW = new SolcW({logger: self.logger, events: self.events, ipc: self.ipc});
self.logger.info(__("loading solc compiler") + "..");
self.solcW.load_compiler(function (err) {