add blob info
This commit is contained in:
parent
0027cdcd3a
commit
6d7235f2c8
@ -68,7 +68,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
|
||||
// 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)?;
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user