From 40c6daa34b44924864f72ce63f1b9826557e2873 Mon Sep 17 00:00:00 2001 From: sean Date: Wed, 28 Dec 2022 18:27:21 +0000 Subject: [PATCH] add pawan's suggestsion --- .../network/src/beacon_processor/worker/sync_methods.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/beacon_node/network/src/beacon_processor/worker/sync_methods.rs b/beacon_node/network/src/beacon_processor/worker/sync_methods.rs index b3465c56d..284f96da7 100644 --- a/beacon_node/network/src/beacon_processor/worker/sync_methods.rs +++ b/beacon_node/network/src/beacon_processor/worker/sync_methods.rs @@ -188,7 +188,11 @@ impl Worker { let end_slot = downloaded_blocks.last().map(|b| b.slot().as_u64()); let sent_blocks = downloaded_blocks.len(); - let unwrapped = downloaded_blocks.into_iter().map(|_| todo!()).collect(); + let unwrapped = downloaded_blocks + .into_iter() + //FIXME(sean) handle blobs in backfill + .map(|block| block.block_cloned()) + .collect(); match self.process_backfill_blocks(unwrapped) { (_, Ok(_)) => {