Fix broken block_store test

This commit is contained in:
Paul Hauner 2018-10-16 13:46:18 +11:00
parent 1621901f0d
commit 1207421d70
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -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);