Compare regardless of length

pull/294/head
obscuren 10 years ago
parent 0fa6927171
commit c8147fb7b9
  1. 2
      core/filter.go

@ -145,7 +145,7 @@ func (self *Filter) FilterLogs(logs state.Logs) state.Logs {
// Filter the logs for interesting stuff // Filter the logs for interesting stuff
Logs: Logs:
for _, log := range logs { for _, log := range logs {
if len(self.address) > 0 && !bytes.Equal(self.address, log.Address()) { if !bytes.Equal(self.address, log.Address()) {
continue continue
} }

Loading…
Cancel
Save