From 39cc7183fc3e4455a2801743fd666b9480ebae47 Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com> Date: Wed, 18 Dec 2024 00:19:02 +0200 Subject: [PATCH] flatten bruh --- crates/engine/tree/src/tree/root.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/tree/src/tree/root.rs b/crates/engine/tree/src/tree/root.rs index 375319335e438..228f63755b319 100644 --- a/crates/engine/tree/src/tree/root.rs +++ b/crates/engine/tree/src/tree/root.rs @@ -368,7 +368,7 @@ where body.transactions() .iter() .flat_map(|tx| [tx.recover_signer(), tx.kind().to().copied()]) - .filter_map(|address| address), + .flatten() ); if let Some(withdrawals) = body.withdrawals() { accounts.extend(withdrawals.iter().map(|withdrawal| withdrawal.address));