Fix bug with per-block processing

This commit is contained in:
Paul Hauner
2019-03-18 18:09:31 +11:00
parent 71d95ee9db
commit 7503f31ddc
2 changed files with 4 additions and 4 deletions

View File

@@ -25,9 +25,6 @@ pub fn per_slot_processing(
state.slot += 1;
let latest_block_root = Hash256::from_slice(&state.latest_block_header.hash_tree_root()[..]);
state.set_block_root(state.slot - 1, latest_block_root, spec)?;
Ok(())
}