Fix fork_choice release-only tests

This commit is contained in:
Paul Hauner
2019-05-10 09:45:08 +10:00
parent 77c4b6eafe
commit be9f8aa0bf
4 changed files with 23 additions and 16 deletions

View File

@@ -34,7 +34,7 @@ fn power_of_2_below(x: u64) -> u64 {
}
/// Stores the necessary data structures to run the optimised lmd ghost algorithm.
pub struct OptimizedLMDGhost<T: ClientDB + Sized, B: BeaconStateTypes> {
pub struct OptimizedLMDGhost<T: ClientDB + Sized, B> {
/// A cache of known ancestors at given heights for a specific block.
//TODO: Consider FnvHashMap
cache: HashMap<CacheKey<u64>, Hash256>,