mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-22 21:29:14 +00:00
Removing unused variables
This commit is contained in:
parent
0f853ba841
commit
09c11662aa
@ -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;
|
||||
});
|
||||
}
|
||||
|
@ -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) {
|
||||
//
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user