diff --git a/beacon_node/beacon_chain/src/historical_blocks.rs b/beacon_node/beacon_chain/src/historical_blocks.rs index cc45a6bb9..8cb13eab2 100644 --- a/beacon_node/beacon_chain/src/historical_blocks.rs +++ b/beacon_node/beacon_chain/src/historical_blocks.rs @@ -68,7 +68,7 @@ impl BeaconChain { // Take all blocks with slots less than the oldest block slot. let num_relevant = - blocks.partition_point(|block| block.slot() < anchor_info.oldest_block_slot); + blocks.partition_point(|block| block.slot() < acompare_and_set_anchor_infonchor_info.oldest_block_slot); let blocks_to_import = &blocks .get(..num_relevant) .ok_or(HistoricalBlockError::IndexOutOfBounds)?; diff --git a/beacon_node/store/src/metadata.rs b/beacon_node/store/src/metadata.rs index a19f8d91d..45ddd8a03 100644 --- a/beacon_node/store/src/metadata.rs +++ b/beacon_node/store/src/metadata.rs @@ -130,7 +130,7 @@ pub struct BlobInfo { pub latest_blob_slot: Slot, } -impl StoreItem for AnchorInfo { +impl StoreItem for BlobInfo { fn db_column() -> DBColumn { DBColumn::BeaconMeta }