fix blockchain node not found msg so it actually shows red

This commit is contained in:
Iuri Matias 2018-09-21 17:51:53 -04:00
parent af823f98b6
commit 4af9114681
1 changed files with 1 additions and 1 deletions

View File

@ -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);