Skip to main content

filter_removed_logs

Function filter_removed_logs 

Source
pub fn filter_removed_logs(logs: &[Log], filter: &FilteredParams) -> Vec<Log>
Expand description

Returns all logs of reorged out blocks that match the given filter.

The logs are expected to already be marked as removed and carry the metadata of the block they were originally included in, so the filter is applied against that metadata.