Removing unused variables

This commit is contained in:
Richard Ramos 2018-06-08 17:22:53 -04:00
parent 0f853ba841
commit 09c11662aa
2 changed files with 34 additions and 30 deletions

View File

@ -14,7 +14,7 @@ exports.serve = function(ipc, host, port, ws){
ws: ws
});
proxy.on('error', function (err, req, res) {
proxy.on('error', function () {
proxy.close();
});
@ -37,7 +37,7 @@ exports.serve = function(ipc, host, port, ws){
ipc.request('log', commList[receipts[jsonO.id]]);
} else {
ipc.connecting = true;
ipc.connect((err) => {
ipc.connect(() => {
ipc.connecting = false;
});
}

View File

@ -41,6 +41,7 @@ class ConsoleListener {
}
listenForLogRequests(){
try {
this.ipc.on('log', (request) => {
if(request.type == 'contract-log'){
@ -71,6 +72,9 @@ class ConsoleListener {
this.logger.debug(request);
}
});
} catch(e) {
//
}
}
}