diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-20 19:05:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-20 19:05:26 +0800 |
commit | 55a2f35a648ef70cdcc88bd751265e30831b54e5 (patch) | |
tree | 7d5fef53c640eabf599e74873cb3c6e32d046607 /ethchain | |
parent | b97ea0e447c24c0a85f63a7714a2eb221a7faccd (diff) | |
download | go-tangerine-55a2f35a648ef70cdcc88bd751265e30831b54e5.tar.gz go-tangerine-55a2f35a648ef70cdcc88bd751265e30831b54e5.tar.zst go-tangerine-55a2f35a648ef70cdcc88bd751265e30831b54e5.zip |
JS Filter
Diffstat (limited to 'ethchain')
-rw-r--r-- | ethchain/filter.go | 4 |
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) { |