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 bfaaafa commit b93d78bCopy full SHA for b93d78b
crates/rpc/src/interest/kind.rs
@@ -48,12 +48,10 @@ impl InterestKind {
48
}
49
50
fn apply_filter(&self, notif: &CanonStateNotification) -> SubscriptionBuffer {
51
- let filter = self.as_filter().unwrap();
52
-
53
// NB: borrowing OUTSIDE the top-level closure prevents this value from
54
// being moved into the closure, which would result in the inner
55
// closures violating borrowing rules.
56
- let filter_params = &FilteredParams::new(Some(filter.clone()));
+ let filter = self.as_filter().unwrap();
57
58
let address_filter = FilteredParams::address_filter(&filter.address);
59
let topics_filter = FilteredParams::topics_filter(&filter.topics);
0 commit comments