Add fork choice persistence

This commit is contained in:
Paul Hauner
2019-11-29 16:45:27 +11:00
parent 864955e743
commit 7da8003f45
8 changed files with 34 additions and 20 deletions

View File

@@ -498,7 +498,7 @@ where
.clone()
.ok_or_else(|| "beacon_chain requires a slot clock")?,
)
.empty_reduced_tree_fork_choice()
.reduced_tree_fork_choice()
.map_err(|e| format!("Failed to init fork choice: {}", e))?
.build()
.map_err(|e| format!("Failed to build beacon chain: {}", e))?;