Updates longest chain to match new fork-choice structure.

This commit is contained in:
Age Manning
2019-02-14 18:09:09 +11:00
parent 7b39dad232
commit fe13d98469
2 changed files with 86 additions and 76 deletions

View File

@@ -83,6 +83,7 @@ pub enum ForkChoiceError {
CannotFindBestChild,
ChildrenNotFound,
StorageError(String),
HeadNotFound,
}
impl From<DBError> for ForkChoiceError {