diff --git a/remix-simulator/src/methods/misc.js b/remix-simulator/src/methods/misc.js index 33c81e395f..ffb386c57e 100644 --- a/remix-simulator/src/methods/misc.js +++ b/remix-simulator/src/methods/misc.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) } diff --git a/remix-simulator/src/methods/whisper.js b/remix-simulator/src/methods/whisper.js index f7ffccf6ae..b1b3e38ccb 100644 --- a/remix-simulator/src/methods/whisper.js +++ b/remix-simulator/src/methods/whisper.js @@ -12,5 +12,5 @@ Whisper.prototype.shh_version = function(payload, cb) { cb(null, 5) } -module.exports = Whisper; +module.exports = Whisper