diff --git a/lighthouse/db/src/stores/beacon_block_store.rs b/lighthouse/db/src/stores/beacon_block_store.rs index 932675e41..80c29c5a7 100644 --- a/lighthouse/db/src/stores/beacon_block_store.rs +++ b/lighthouse/db/src/stores/beacon_block_store.rs @@ -179,6 +179,7 @@ mod tests { let slots = [0, 1, 3, 4, 5]; for (i, mut block) in blocks.enumerate() { + block.ancestor_hashes.push(parent_hashes[i]); block.slot = slots[i]; let mut s = SszStream::new(); s.append(&block);