Unverified Commit 9d7750f7 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #1082 from ethereum/send_method

add missing send method
parents 5c1c75f0 1c6b9d15
......@@ -36,6 +36,10 @@ Provider.prototype.sendAsync = function (payload, callback) {
callback(new Error('unknown method ' + payload.method))
}
Provider.prototype.send = function (payload, callback) {
this.sendAsync(payload, callback || function () {})
}
Provider.prototype.isConnected = function () {
return true
}
......
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