diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/filter.go | 6 |
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 { |