mirror of https://github.com/embarklabs/embark.git
fix blockchain node not found msg so it actually shows red
This commit is contained in:
parent
af823f98b6
commit
4af9114681
|
@ -140,7 +140,7 @@ class BlockchainConnector {
|
|||
self.web3._requestManager.send({method: 'web3_clientVersion', params: []}, (err, version) => {
|
||||
if (err) {
|
||||
self.isWeb3Ready = false;
|
||||
return next(null, {name: "Ethereum node (version unknown)", status: 'on'});
|
||||
return next(null, {name: "Ethereum node not found", status: 'off'});
|
||||
}
|
||||
if (version.indexOf("/") < 0) {
|
||||
self.events.emit(WEB3_READY);
|
||||
|
|
Loading…
Reference in New Issue