Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions rpc/rpchelper/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,11 @@ func (ff *Filters) SubscribeLogs(size int, criteria filters.FilterCriteria) (<-c
break
}
}
if len(allowedTopicsRow) > 0 {
allowedTopics = append(allowedTopics, allowedTopicsRow)
}
// BUG FIX: Removed guard that was dropping empty topic rows (wildcards)
// This was causing eth_subscribe with topic filters to return no events
// because wildcard positions (empty arrays) were being skipped, causing
// positional misalignment in topic matching
allowedTopics = append(allowedTopics, allowedTopicsRow)
}
f.topicsOriginal = allowedTopics
}
Expand Down
Loading