aboutsummaryrefslogtreecommitdiffstats
path: root/event
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-10 07:51:56 +0800
committerobscuren <geffobscura@gmail.com>2015-01-10 07:51:56 +0800
commite3da85faedf21a3ddb73a0fa29decf65364e6c39 (patch)
tree516faf70a5346bec9016bbdd308b6bcc23d5bccb /event
parent491c23a728e4f5cdedfa040aded6a6b136f6bee0 (diff)
downloadgo-tangerine-e3da85faedf21a3ddb73a0fa29decf65364e6c39.tar
go-tangerine-e3da85faedf21a3ddb73a0fa29decf65364e6c39.tar.gz
go-tangerine-e3da85faedf21a3ddb73a0fa29decf65364e6c39.tar.bz2
go-tangerine-e3da85faedf21a3ddb73a0fa29decf65364e6c39.tar.lz
go-tangerine-e3da85faedf21a3ddb73a0fa29decf65364e6c39.tar.xz
go-tangerine-e3da85faedf21a3ddb73a0fa29decf65364e6c39.tar.zst
go-tangerine-e3da85faedf21a3ddb73a0fa29decf65364e6c39.zip
Implemented filter for ws + fixes
* proper 0xhex * filters fixed * start of filter manager * accounts for ws. Closes #246
Diffstat (limited to 'event')
-rw-r--r--event/filter/old_filter.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/event/filter/old_filter.go b/event/filter/old_filter.go
index 1a9a88173..6c7f053d4 100644
--- a/event/filter/old_filter.go
+++ b/event/filter/old_filter.go
@@ -2,6 +2,7 @@
package filter
import (
+ "fmt"
"sync"
"github.com/ethereum/go-ethereum/core"
@@ -78,6 +79,7 @@ out:
self.filterMu.RUnlock()
case state.Messages:
+ fmt.Println("got messages")
self.filterMu.RLock()
for _, filter := range self.filters {
if filter.MessageCallback != nil {