Add stubbed-out block processing to fork choice

This commit is contained in:
Paul Hauner
2019-06-16 16:39:48 -04:00
parent f6c86d0f7f
commit 9c2bbb6c05
4 changed files with 23 additions and 6 deletions

View File

@@ -624,7 +624,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
self.store.put(&state_root, &state)?;
// Register the new block with the fork choice service.
self.fork_choice.process_block(&state, &block)?;
self.fork_choice.process_block(&state, &block, block_root)?;
// Execute the fork choice algorithm, enthroning a new head if discovered.
//