diff --git a/worker/src/data_ctx.rs b/worker/src/data_ctx.rs index e8f4b69e..919b0b3a 100644 --- a/worker/src/data_ctx.rs +++ b/worker/src/data_ctx.rs @@ -298,16 +298,6 @@ impl DataCtx { to: to_block, }; - if logs.is_empty() && transactions.is_empty() && !query.include_all_blocks { - // early return if there are no queries - - if !serialize_task.send((QueryResult { data: Vec::new() }, block_range)) { - return Ok(serialize_task); - } - - continue; - } - let mini_query = MiniQuery { from_block, to_block,