Update fork choice find head fn

This commit is contained in:
Paul Hauner
2019-06-15 15:05:34 -04:00
parent 2ee71aa808
commit 7756a658a7
4 changed files with 71 additions and 27 deletions

View File

@@ -86,7 +86,10 @@ where
.map_err(Into::into)
}
fn find_head(&self) -> SuperResult<Hash256> {
fn find_head<F>(&self, _start_block_root: Hash256, _weight: F) -> SuperResult<Hash256>
where
F: Fn(usize) -> Option<u64>,
{
unimplemented!();
}
}