display current version

pull/3094/head
Iuri Matias 7 years ago
parent b3d1f076fe
commit 1bc72a1f80
  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() { var Misc = 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) {
cb(null, 5) cb(null, 5)
} }
module.exports = Whisper; module.exports = Whisper

Loading…
Cancel
Save