aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/filter.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/filter.go b/core/filter.go
index c34d6ff6c..b328ffff3 100644
--- a/core/filter.go
+++ b/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 {