We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3906724 commit 8ef3153Copy full SHA for 8ef3153
crates/indexer/src/engine.rs
@@ -472,7 +472,7 @@ impl<P: Provider + Send + Sync + std::fmt::Debug + 'static> Engine<P> {
472
473
// Add continuation request to next_requests instead of recursing
474
if let Some(continuation_token) = events_page.continuation_token {
475
- if last_block_number < to && events_page.events.len() > 0 {
+ if last_block_number < to && !events_page.events.is_empty() {
476
if let ProviderRequestData::GetEvents(mut next_request) =
477
original_request
478
{
0 commit comments