aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-20 19:05:26 +0800
committerobscuren <geffobscura@gmail.com>2014-08-20 19:05:26 +0800
commit55a2f35a648ef70cdcc88bd751265e30831b54e5 (patch)
tree7d5fef53c640eabf599e74873cb3c6e32d046607 /ethchain
parentb97ea0e447c24c0a85f63a7714a2eb221a7faccd (diff)
downloaddexon-55a2f35a648ef70cdcc88bd751265e30831b54e5.tar
dexon-55a2f35a648ef70cdcc88bd751265e30831b54e5.tar.gz
dexon-55a2f35a648ef70cdcc88bd751265e30831b54e5.tar.bz2
dexon-55a2f35a648ef70cdcc88bd751265e30831b54e5.tar.lz
dexon-55a2f35a648ef70cdcc88bd751265e30831b54e5.tar.xz
dexon-55a2f35a648ef70cdcc88bd751265e30831b54e5.tar.zst
dexon-55a2f35a648ef70cdcc88bd751265e30831b54e5.zip
JS Filter
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/filter.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/ethchain/filter.go b/ethchain/filter.go
index c4c403cf7..5ed9af977 100644
--- a/ethchain/filter.go
+++ b/ethchain/filter.go
@@ -72,8 +72,6 @@ func NewFilterFromMap(object map[string]interface{}, eth EthManager) *Filter {
filter.altered = makeAltered(object["altered"])
}
- fmt.Println("ALTERED", filter.altered)
-
return filter
}
@@ -123,7 +121,7 @@ func (self *Filter) SetTo(addr [][]byte) {
}
func (self *Filter) AddTo(addr []byte) {
- self.from = append(self.to, addr)
+ self.to = append(self.to, addr)
}
func (self *Filter) SetMax(max int) {