diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-04 17:49:56 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-04 17:49:56 +0800 |
commit | 84a4f761f332b4aecc36c748bc4c9a4ce1c114e2 (patch) | |
tree | 5966338284ded703d77b4dba66b9876f64202963 /core/filter.go | |
parent | d4d505c868fcd0f692ec3573bd6cfcb1c5230fe2 (diff) | |
download | dexon-84a4f761f332b4aecc36c748bc4c9a4ce1c114e2.tar dexon-84a4f761f332b4aecc36c748bc4c9a4ce1c114e2.tar.gz dexon-84a4f761f332b4aecc36c748bc4c9a4ce1c114e2.tar.bz2 dexon-84a4f761f332b4aecc36c748bc4c9a4ce1c114e2.tar.lz dexon-84a4f761f332b4aecc36c748bc4c9a4ce1c114e2.tar.xz dexon-84a4f761f332b4aecc36c748bc4c9a4ce1c114e2.tar.zst dexon-84a4f761f332b4aecc36c748bc4c9a4ce1c114e2.zip |
uncle validation
Diffstat (limited to 'core/filter.go')
-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 c61c9e998..d58aa8d7c 100644 --- a/core/filter.go +++ b/core/filter.go @@ -147,7 +147,7 @@ func (self *Filter) FilterLogs(logs state.Logs) state.Logs { // Filter the logs for interesting stuff Logs: for _, log := range logs { - if !includes(self.address, log.Address()) { + if len(self.address) > 0 && !includes(self.address, log.Address()) { continue } |