good morning!!!!

Skip to content
Snippets Groups Projects
Commit 1ffc5b0c authored by Felix Lange's avatar Felix Lange
Browse files

Merge pull request #1751 from maran/fix_filters

core: Filter on addresses should work as an OR not an AND.
parents 5e4cd599 67225de2
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment