aboutsummaryrefslogtreecommitdiffstats
path: root/dist/ethereum.js
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-31 23:01:41 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-31 23:01:41 +0800
commit688030ecb615cbf97c428cf1dd2e337380079168 (patch)
treead9b4f831ddad9ea3917aa74a02f162a024d9723 /dist/ethereum.js
parent589c4fb30f2e68972b898c5ce084cda5b0831266 (diff)
downloadgo-tangerine-688030ecb615cbf97c428cf1dd2e337380079168.tar
go-tangerine-688030ecb615cbf97c428cf1dd2e337380079168.tar.gz
go-tangerine-688030ecb615cbf97c428cf1dd2e337380079168.tar.bz2
go-tangerine-688030ecb615cbf97c428cf1dd2e337380079168.tar.lz
go-tangerine-688030ecb615cbf97c428cf1dd2e337380079168.tar.xz
go-tangerine-688030ecb615cbf97c428cf1dd2e337380079168.tar.zst
go-tangerine-688030ecb615cbf97c428cf1dd2e337380079168.zip
eth.filter next param optional
Diffstat (limited to 'dist/ethereum.js')
-rw-r--r--dist/ethereum.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/dist/ethereum.js b/dist/ethereum.js
index 4455058a8..282b0e591 100644
--- a/dist/ethereum.js
+++ b/dist/ethereum.js
@@ -1441,10 +1441,11 @@ var web3 = {
},
/// @param filter may be a string, object or event
- /// @param indexed is optional, this may be an object with optional event indexed params
- watch: function (filter, indexed) {
+ /// @param indexed is optional, this is an object with optional event indexed params
+ /// @param options is optional, this is an object with optional event options ('max'...)
+ watch: function (filter, indexed, options) {
if (filter._isEvent) {
- return filter(indexed);
+ return filter(indexed, options);
}
return new web3.filter(filter, ethWatch);
}