mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 22:16:45 +01:00
Merge pull request #32 from kumavis/patch-1
WebsocketProvider - fixed incorrect variable name
This commit is contained in:
@@ -71,7 +71,7 @@ WebSocketProvider.prototype.unload = function() {
|
||||
this.ws.close();
|
||||
};
|
||||
Object.defineProperty(WebSocketProvider.prototype, "onmessage", {
|
||||
set: function(provider) { this.onMessage(provider); }
|
||||
set: function(handler) { this.onMessage(handler); }
|
||||
});
|
||||
|
||||
if (typeof(module) !== "undefined")
|
||||
|
||||
Reference in New Issue
Block a user