remove unsupported whisper protocol msg

This commit is contained in:
Iuri Matias 2017-12-27 20:58:14 -05:00
parent e46fce4c48
commit 17a7dcf3e6

View File

@ -204,8 +204,6 @@ class Engine {
self.web3.version.getWhisper(function (err, version) {
if (err) {
return cb({name: 'Whisper', status: 'off'});
} else if (version >= 5) {
return cb({name: 'Whisper (version ' + version + ') - unsupported', status: 'warn'});
} else {
return cb({name: 'Whisper (version ' + version + ')', status: 'on'});
}