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()