From 063738dfbb6e096fbc7638906bf70637bcd858df Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Sat, 3 Aug 2024 10:44:37 -0300 Subject: [PATCH] fix lint --- pallas-utxorpc/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pallas-utxorpc/src/lib.rs b/pallas-utxorpc/src/lib.rs index 4dee0b46..c641032f 100644 --- a/pallas-utxorpc/src/lib.rs +++ b/pallas-utxorpc/src/lib.rs @@ -580,8 +580,7 @@ impl Mapper { .certs() .iter() .enumerate() - .map(|(order, x)| self.map_cert(x, tx, order as u32)) - .flatten() + .filter_map(|(order, x)| self.map_cert(x, tx, order as u32)) .collect(), withdrawals: tx .withdrawals_sorted_set()