Commit b41f3966 authored by Iuri Matias's avatar Iuri Matias

display current version

parent 842f0dec
var version = require('../../package.json').version
var Misc = function() { var Misc = function() {
} }
...@@ -9,7 +10,7 @@ Misc.prototype.methods = function () { ...@@ -9,7 +10,7 @@ Misc.prototype.methods = function () {
} }
Misc.prototype.web3_clientVersion = function (payload, cb) { Misc.prototype.web3_clientVersion = function (payload, cb) {
cb(null, 'Remix Simulator/0.0.1') cb(null, 'Remix Simulator/' + version)
} }
......
...@@ -12,5 +12,5 @@ Whisper.prototype.shh_version = function(payload, cb) { ...@@ -12,5 +12,5 @@ Whisper.prototype.shh_version = function(payload, cb) {
cb(null, 5) cb(null, 5)
} }
module.exports = Whisper; module.exports = Whisper
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment