Filter on addresses should work as an OR not an AND.

release/1.3.2
Maran 9 years ago
parent e1037bd0cf
commit 67225de255
  1. 6
      core/filter.go

@ -131,12 +131,12 @@ done:
func includes(addresses []common.Address, a common.Address) bool {
for _, addr := range addresses {
if addr != a {
return false
if addr == a {
return true
}
}
return true
return false
}
func (self *Filter) FilterLogs(logs state.Logs) state.Logs {

Loading…
Cancel
Save