Function cfx_rpc::helpers::poll_filter::limit_logs
source · pub fn limit_logs<T>(logs: Vec<T>, limit: Option<usize>) -> Vec<T>
Expand description
Returns only last n
logs
pub fn limit_logs<T>(logs: Vec<T>, limit: Option<usize>) -> Vec<T>
Returns only last n
logs