diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-08 00:04:04 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-08 00:04:04 +0800 |
commit | c8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a (patch) | |
tree | 3506d2be2af6217b50332551bd5064c028ad7695 /core | |
parent | 0fa6927171644e8cdc64c1d555c5e62a6442c476 (diff) | |
download | dexon-c8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a.tar dexon-c8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a.tar.gz dexon-c8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a.tar.bz2 dexon-c8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a.tar.lz dexon-c8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a.tar.xz dexon-c8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a.tar.zst dexon-c8147fb7b9e4bf349c47a1e4620e1b79cbeb7f7a.zip |
Compare regardless of length
Diffstat (limited to 'core')
-rw-r--r-- | core/filter.go | 2 |
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 } |