From 688030ecb615cbf97c428cf1dd2e337380079168 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Sat, 31 Jan 2015 16:01:41 +0100 Subject: eth.filter next param optional --- example/event.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'example') diff --git a/example/event.html b/example/event.html index 239813268..84d302437 100644 --- a/example/event.html +++ b/example/event.html @@ -75,7 +75,13 @@ }); }; + function test8() { + // "{"topic":["0x83c9849c","000000000000000000000000000000000000000000000000000000000000001e"],"max":100,"address":"0x01"}" + web3.eth.watch(contract.Event, {a: 30}, {max: 100}).changed(function (res) { + }); + }; + // not valid // function testX() { // web3.eth.watch([contract.Event, contract.Event2]).changed(function (res) { @@ -107,5 +113,8 @@
+
+ +
-- cgit v1.2.3