From e06c4796e41ce67fb2136bcbf48de7f2486c08c8 Mon Sep 17 00:00:00 2001 From: Age Manning Date: Fri, 15 Feb 2019 14:21:33 +1100 Subject: [PATCH] Import Slot directly from types in fork-choice. --- eth2/fork_choice/src/optimised_lmd_ghost.rs | 4 ++-- eth2/fork_choice/src/slow_lmd_ghost.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eth2/fork_choice/src/optimised_lmd_ghost.rs b/eth2/fork_choice/src/optimised_lmd_ghost.rs index 40dc029be..6b21e39f8 100644 --- a/eth2/fork_choice/src/optimised_lmd_ghost.rs +++ b/eth2/fork_choice/src/optimised_lmd_ghost.rs @@ -30,8 +30,8 @@ use fast_math::log2_raw; use std::collections::HashMap; use std::sync::Arc; use types::{ - readers::BeaconBlockReader, slot_epoch::Slot, slot_height::SlotHeight, - validator_registry::get_active_validator_indices, BeaconBlock, Hash256, + readers::BeaconBlockReader, validator_registry::get_active_validator_indices, BeaconBlock, + Hash256, Slot, SlotHeight, }; //TODO: Pruning - Children diff --git a/eth2/fork_choice/src/slow_lmd_ghost.rs b/eth2/fork_choice/src/slow_lmd_ghost.rs index 609d28ab2..3184150fd 100644 --- a/eth2/fork_choice/src/slow_lmd_ghost.rs +++ b/eth2/fork_choice/src/slow_lmd_ghost.rs @@ -28,8 +28,8 @@ use db::{ use std::collections::HashMap; use std::sync::Arc; use types::{ - readers::BeaconBlockReader, slot_epoch::Slot, validator_registry::get_active_validator_indices, - BeaconBlock, Hash256, + readers::BeaconBlockReader, validator_registry::get_active_validator_indices, BeaconBlock, + Hash256, Slot, }; //TODO: Pruning and syncing