Skip to content

Commit c8147fb

Browse files
committed
Compare regardless of length
1 parent 0fa6927 commit c8147fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core/filter.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func (self *Filter) FilterLogs(logs state.Logs) state.Logs {
145145
// Filter the logs for interesting stuff
146146
Logs:
147147
for _, log := range logs {
148-
if len(self.address) > 0 && !bytes.Equal(self.address, log.Address()) {
148+
if !bytes.Equal(self.address, log.Address()) {
149149
continue
150150
}
151151

0 commit comments

Comments
 (0)