mirror of https://github.com/embarklabs/embark.git
fix rebase
This commit is contained in:
parent
9aa3217331
commit
3e9abdcdd2
|
@ -343,7 +343,7 @@ Blockchain.prototype.initChainAndGetAddress = function(callback) {
|
|||
};
|
||||
|
||||
var BlockchainClient = function(blockchainConfig, client, env, onReadyCallback, onExitCallback) {
|
||||
const isDev = Boolean(blockchainConfig.isDev);
|
||||
const isDev = !!blockchainConfig.isDev;
|
||||
// TODO add other clients at some point
|
||||
if (client === 'geth') {
|
||||
return new Blockchain({blockchainConfig, client: GethCommands, env, isDev, onReadyCallback, onExitCallback});
|
||||
|
|
|
@ -5,7 +5,6 @@ const expressWebSocket = require('express-ws');
|
|||
const express = require('express');
|
||||
const fs = require('../../core/fs');
|
||||
require('http-shutdown').extend();
|
||||
const webSocket = require('ws');
|
||||
|
||||
class Server {
|
||||
constructor(options) {
|
||||
|
@ -37,15 +36,6 @@ class Server {
|
|||
this.app.use(main);
|
||||
this.app.use('/coverage', coverage);
|
||||
this.app.use(coverageStyle);
|
||||
|
||||
//this.wss = new webSocket.Server({server: this.server});
|
||||
//this.events.on('outputDone', () => {
|
||||
// this.wss.clients.forEach((ws) => {
|
||||
// if (ws.readyState === webSocket.OPEN) {
|
||||
// ws.send('outputDone');
|
||||
// }
|
||||
// });
|
||||
//});
|
||||
|
||||
this.app.ws('/', (_ws, _req) => {});
|
||||
const wss = expressWs.getWss('/');
|
||||
|
|
Loading…
Reference in New Issue