display current version

pull/7/head
Iuri Matias 7 years ago
parent 842f0dec30
commit b41f3966b0
  1. 3
      remix-simulator/src/methods/misc.js
  2. 2
      remix-simulator/src/methods/whisper.js

@ -1,3 +1,4 @@
var version = require('../../package.json').version
var Misc = function() {
}
@ -9,7 +10,7 @@ Misc.prototype.methods = function () {
}
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) {
cb(null, 5)
}
module.exports = Whisper;
module.exports = Whisper

Loading…
Cancel
Save