Commit fe70b95a authored by Iuri Matias's avatar Iuri Matias

remove whisper module

parent 0b347188
var Whisper = function () {
}
Whisper.prototype.methods = function () {
return {
shh_version: this.shh_version.bind(this)
}
}
Whisper.prototype.shh_version = function (payload, cb) {
cb(null, 5)
}
module.exports = Whisper
......@@ -10,7 +10,6 @@ const Filters = require('./methods/filters.js')
const Misc = require('./methods/misc.js')
const Net = require('./methods/net.js')
const Transactions = require('./methods/transactions.js')
const Whisper = require('./methods/whisper.js')
const generateBlock = require('./genesis.js')
......@@ -24,8 +23,8 @@ var Provider = function (options) {
this.methods = merge(this.methods, (new Misc()).methods())
this.methods = merge(this.methods, (new Filters()).methods())
this.methods = merge(this.methods, (new Net()).methods())
this.methods = merge(this.methods, (this.Transactions.methods()))
this.methods = merge(this.methods, (new Whisper()).methods())
this.methods = merge(this.methods, (new Transactions(this.Accounts.accounts)).methods())
generateBlock()
}
......
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