提交 5d2138a2 编写于 作者: O obscuren

core: fixed issue for logs filter. Closes #629

Log filter `Address` field was cast to a Hash which causes it to always
fail.
上级 ccb4722a
...@@ -153,7 +153,7 @@ func (self *Filter) bloomFilter(block *types.Block) bool { ...@@ -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
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册