Skip to content

Commit c870267

Browse files
committed
retain non empty txs
1 parent 5cbf3b1 commit c870267

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/indexer/fetcher/src/json_rpc.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,9 @@ impl<P: Provider + Send + Sync + Clone + std::fmt::Debug + 'static> Fetcher<P> {
457457
);
458458
}
459459

460+
// Only keep transactions that have events
461+
transactions.retain(|_, tx| !tx.events.is_empty());
462+
460463
Ok((
461464
Some(FetchPreconfirmedBlockResult {
462465
timestamp,

0 commit comments

Comments
 (0)