Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 2a4a722

Browse files
committed
Merge branch '1.0' of github.com:ethereum/web3.js into 1.0
2 parents 57ec809 + c9ca65d commit 2a4a722

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/web3-shh.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ web3.shh
77
========
88

99

10-
The ``web3-shh`` package allows you to interact with an the whisper protocol for broadcasting.
10+
The ``web3-shh`` package allows you to interact with the whisper protocol for broadcasting.
1111
For more see `Whisper Overview <https://github.com/ethereum/go-ethereum/wiki/Whisper>`_.
1212

1313

packages/web3-providers-ws/src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ WebsocketProvider.prototype._addResponseCallback = function(payload, callback) {
181181
WebsocketProvider.prototype._timeout = function() {
182182
for(var key in this.responseCallbacks) {
183183
if(this.responseCallbacks.hasOwnProperty(key)){
184-
this.responseCallbacks[key](errors.InvalidConnection('on IPC'));
184+
this.responseCallbacks[key](errors.InvalidConnection('on WS'));
185185
delete this.responseCallbacks[key];
186186
}
187187
}
@@ -328,4 +328,3 @@ WebsocketProvider.prototype.reset = function () {
328328
};
329329

330330
module.exports = WebsocketProvider;
331-

0 commit comments

Comments
 (0)