mirror of https://github.com/status-im/web3.js.git
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
bc1c3c7d7e
|
@ -21,7 +21,7 @@ which implements the [Generic JSON RPC](https://github.com/ethereum/wiki/wiki/JS
|
||||||
|
|
||||||
<!-- [![browser support](https://ci.testling.com/ethereum/ethereum.js.png)](https://ci.testling.com/ethereum/ethereum.js) -->
|
<!-- [![browser support](https://ci.testling.com/ethereum/ethereum.js.png)](https://ci.testling.com/ethereum/ethereum.js) -->
|
||||||
|
|
||||||
You need to run a local ethrereum node to use this library.
|
You need to run a local Ethereum node to use this library.
|
||||||
|
|
||||||
[Documentation](https://github.com/ethereum/wiki/wiki/JavaScript-API)
|
[Documentation](https://github.com/ethereum/wiki/wiki/JavaScript-API)
|
||||||
|
|
||||||
|
|
|
@ -168,7 +168,7 @@ var Filter = function (requestManager, options, methods, formatter, callback) {
|
||||||
pollFilter(self);
|
pollFilter(self);
|
||||||
|
|
||||||
// start to watch immediately
|
// start to watch immediately
|
||||||
if(callback) {
|
if(typeof callback === 'function') {
|
||||||
return self.watch(callback);
|
return self.watch(callback);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue