From 4f1317dcdd58e5180ec42c78363006ec3db9729b Mon Sep 17 00:00:00 2001 From: Andy Nogueira Date: Wed, 22 Feb 2017 08:10:33 -0500 Subject: [PATCH 1/2] Minor typo in help message --- lib/dashboard/console.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dashboard/console.js b/lib/dashboard/console.js index 1e7e3919c..f3901874c 100644 --- a/lib/dashboard/console.js +++ b/lib/dashboard/console.js @@ -29,7 +29,7 @@ Console.prototype.executeCmd = function(cmd, callback) { 'web3 - instantiated web3.js object configured to the current environment', 'quit - to immediatly exit', '', - 'The web3 object and the interfaces for the deployed contrats and their methods are also available' + 'The web3 object and the interfaces for the deployed contracts and their methods are also available' ]; return callback(helpText.join('\n')); } else if (cmd === 'quit') { @@ -50,4 +50,3 @@ Console.prototype.executeCmd = function(cmd, callback) { }; module.exports = Console; - From e3cbf3c680de802c5ae111f8910272e626dd43ba Mon Sep 17 00:00:00 2001 From: Andy Nogueira Date: Wed, 22 Feb 2017 08:21:45 -0500 Subject: [PATCH 2/2] Better name for services. Output Geth version is important --- lib/core/services.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/services.js b/lib/core/services.js index 01163aa83..8f5f0801d 100644 --- a/lib/core/services.js +++ b/lib/core/services.js @@ -40,7 +40,7 @@ ServicesMonitor.prototype.check = function() { self.logger.trace('checkEthereum'); var service; if (web3.isConnected()) { - service = (web3.version.node.split("/")[0] + " (Ethereum)").green; + service = (web3.version.node.split("/")[0] + " " + web3.version.node.split("/")[1].split("-")[0] + " (Ethereum)").green; } else { service = "No Blockchain node found".red; } @@ -50,7 +50,7 @@ ServicesMonitor.prototype.check = function() { function checkWhisper(web3, result, callback) { self.logger.trace('checkWhisper'); web3.version.getWhisper(function(err, res) { - var service = 'whisper'; + var service = 'Whisper'; result.push(err ? service.red : service.green); callback(null, result); }); @@ -69,7 +69,7 @@ ServicesMonitor.prototype.check = function() { }, function checkDevServer(result, callback) { self.logger.trace('checkDevServer'); - var devServer = 'dev server (http://' + self.serverHost + ':' + self.serverPort + ')'; + var devServer = 'Webserver (http://' + self.serverHost + ':' + self.serverPort + ')'; devServer = (self.runWebserver) ? devServer.green : devServer.red; result.push(devServer); callback(null, result);