Skip to content

Commit c2032ba

Browse files
chore: Rename EXCHANGES_REQUIRED_FILTER
Took 18 minutes
1 parent f9a629d commit c2032ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/evm/stream.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ impl ProtocolStreamBuilder {
216216
.register_filter(name, predicate);
217217
}
218218

219-
if EXCHANGES_REQUIRED_FILTER.contains(&name) && filter_fn.is_none() {
219+
if EXCHANGES_REQUIRING_FILTER.contains(&name) && filter_fn.is_none() {
220220
warn!("Warning: For exchange type '{}', it is necessary to set a filter function because not all pools are supported. See all filters at src/evm/protocol/filters.rs", name);
221221
}
222222

@@ -268,7 +268,7 @@ impl ProtocolStreamBuilder {
268268
.register_filter(name, predicate);
269269
}
270270

271-
if EXCHANGES_REQUIRED_FILTER.contains(&name) && filter_fn.is_none() {
271+
if EXCHANGES_REQUIRING_FILTER.contains(&name) && filter_fn.is_none() {
272272
warn!("Warning: For exchange type '{}', it is necessary to set a filter function because not all pools are supported. See all filters at src/evm/protocol/filters.rs", name);
273273
}
274274

0 commit comments

Comments
 (0)