From b3d2e85e55509210809e32aa8e491e1a119dae7f Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Mon, 23 Feb 2026 17:28:46 +1100 Subject: [PATCH] Avoid Result::flatten (would require MSRV bump) --- beacon_node/store/src/hot_cold_store.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beacon_node/store/src/hot_cold_store.rs b/beacon_node/store/src/hot_cold_store.rs index d858ef904e..849099ecfb 100644 --- a/beacon_node/store/src/hot_cold_store.rs +++ b/beacon_node/store/src/hot_cold_store.rs @@ -2494,8 +2494,7 @@ impl, Cold: ItemStore> HotColdDB .ok_or(Error::MissingBlock(block_root)) }) .collect::, Error>>() - }) - .flatten()?; + })??; // If Gloas is not enabled for any slots in the range, just return `blocks`. if !self.spec.fork_name_at_slot::(start_slot).gloas_enabled()