aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-08 00:04:04 +0800
committerobscuren <geffobscura@gmail.com>2015-02-08 00:04:04 +0800
commitc8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a (patch)
tree3506d2be2af6217b50332551bd5064c028ad7695 /core
parent0fa6927171644e8cdc64c1d555c5e62a6442c476 (diff)
downloadgo-tangerine-c8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a.tar.gz
go-tangerine-c8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a.tar.zst
go-tangerine-c8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a.zip
Compare regardless of length
Diffstat (limited to 'core')
-rw-r--r--core/filter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/filter.go b/core/filter.go
index 24d1f5a4a..b93fcc8a5 100644
--- a/core/filter.go
+++ b/core/filter.go
@@ -145,7 +145,7 @@ func (self *Filter) FilterLogs(logs state.Logs) state.Logs {
// Filter the logs for interesting stuff
Logs:
for _, log := range logs {
- if len(self.address) > 0 && !bytes.Equal(self.address, log.Address()) {
+ if !bytes.Equal(self.address, log.Address()) {
continue
}