From e1559da518622ef1d27a3e5d1ce5c968f22783d5 Mon Sep 17 00:00:00 2001 From: Ammar Arif Date: Thu, 5 Dec 2024 12:09:43 -0500 Subject: [PATCH] remove commented code --- crates/katana/rpc/rpc/src/utils/events.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/katana/rpc/rpc/src/utils/events.rs b/crates/katana/rpc/rpc/src/utils/events.rs index 6aecfafcef..b1126f5b11 100644 --- a/crates/katana/rpc/rpc/src/utils/events.rs +++ b/crates/katana/rpc/rpc/src/utils/events.rs @@ -86,15 +86,12 @@ impl PartialCursor { } pub fn fetch_pending_events( - // pending_executor: &PendingExecutor, pending_provider: &impl PendingBlockProvider, filter: &Filter, chunk_size: u64, cursor: Option, buffer: &mut Vec, ) -> EventQueryResult { - // let pending_block = pending_executor.read(); - let block_env = pending_provider.pending_block_env()?; let txs = pending_provider.pending_transactions()?; let receipts = pending_provider.pending_receipts()?;