aboutsummaryrefslogtreecommitdiffstats
path: root/core/filter.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/filter.go')
-rw-r--r--core/filter.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/filter.go b/core/filter.go
index 1dca5501d..dd15db27d 100644
--- a/core/filter.go
+++ b/core/filter.go
@@ -124,17 +124,17 @@ 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 && !includes(self.address, log.Address()) {
+ if len(self.address) > 0 && !includes(self.address, log.Address) {
continue
}
logTopics := make([]common.Hash, len(self.topics))
- copy(logTopics, log.Topics())
+ copy(logTopics, log.Topics)
for i, topics := range self.topics {
for _, topic := range topics {
var match bool
- if log.Topics()[i] == topic {
+ if log.Topics[i] == topic {
match = true
}
if !match {