We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3324e1b commit 427cdeeCopy full SHA for 427cdee
crates/rpc-types-eth/src/filter.rs
@@ -652,8 +652,8 @@ impl Filter {
652
/// Check whether the provided bloom contains all topics and the address we
653
/// wish to filter on.
654
pub fn matches_bloom(&self, bloom: Bloom) -> bool {
655
- bloom.contains(&self.address_bloom());
656
- self.topics_bloom().iter().all(|topic_bloom| bloom.contains(topic_bloom))
+ bloom.contains(&self.address_bloom())
+ && self.topics_bloom().iter().all(|topic_bloom| bloom.contains(topic_bloom))
657
}
658
659
/// Returns `true` if the filter matches the given topics.
0 commit comments