From 1207421d70b4888734e45b05abcf874249fb7d9a Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 16 Oct 2018 13:46:18 +1100 Subject: [PATCH] Fix broken block_store test --- lighthouse/db/src/stores/beacon_block_store.rs | 1 + 1 file changed, 1 insertion(+) 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);