Skip to content

Commit 8ef3153

Browse files
committed
clippy
1 parent 3906724 commit 8ef3153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/indexer/src/engine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ impl<P: Provider + Send + Sync + std::fmt::Debug + 'static> Engine<P> {
472472

473473
// Add continuation request to next_requests instead of recursing
474474
if let Some(continuation_token) = events_page.continuation_token {
475-
if last_block_number < to && events_page.events.len() > 0 {
475+
if last_block_number < to && !events_page.events.is_empty() {
476476
if let ProviderRequestData::GetEvents(mut next_request) =
477477
original_request
478478
{

0 commit comments

Comments
 (0)