core: fixed issue for logs filter. Closes #629

Log filter `Address` field was cast to a Hash which causes it to always
fail.
This commit is contained in:
obscuren 2015-04-15 11:59:30 +02:00
parent ccb4722a59
commit 5d2138a2b2

View File

@ -153,7 +153,7 @@ func (self *Filter) bloomFilter(block *types.Block) bool {
if len(self.address) > 0 { if len(self.address) > 0 {
var included bool var included bool
for _, addr := range self.address { for _, addr := range self.address {
if types.BloomLookup(block.Bloom(), addr.Hash()) { if types.BloomLookup(block.Bloom(), addr) {
included = true included = true
break break
} }