JS Filter

This commit is contained in:
obscuren
2014-08-20 13:05:26 +02:00
parent b97ea0e447
commit 55a2f35a64
3 changed files with 53 additions and 8 deletions

View File

@@ -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) {