restore ws functionality to webserver
This commit is contained in:
parent
8f032ddbd2
commit
58a75f5080
|
@ -343,7 +343,7 @@ Blockchain.prototype.initChainAndGetAddress = function(callback) {
|
|||
};
|
||||
|
||||
var BlockchainClient = function(blockchainConfig, client, env, onReadyCallback, onExitCallback) {
|
||||
const isDev = !!blockchainConfig.isDev;
|
||||
const isDev = Boolean(blockchainConfig.isDev);
|
||||
// TODO add other clients at some point
|
||||
if (client === 'geth') {
|
||||
return new Blockchain({blockchainConfig, client: GethCommands, env, isDev, onReadyCallback, onExitCallback});
|
||||
|
|
|
@ -11094,14 +11094,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"ws": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-6.0.0.tgz",
|
||||
"integrity": "sha512-c2UlYcAZp1VS8AORtpq6y4RJIkJ9dQz18W32SpR/qXGfLDZ2jU4y4wKvvZwqbi7U6gxFQTeE+urMbXU/tsDy4w==",
|
||||
"requires": {
|
||||
"async-limiter": "~1.0.0"
|
||||
}
|
||||
},
|
||||
"xhr": {
|
||||
"version": "2.5.0",
|
||||
"resolved": "https://registry.npmjs.org/xhr/-/xhr-2.5.0.tgz",
|
||||
|
|
Loading…
Reference in New Issue