Import Slot directly from types in fork-choice.

This commit is contained in:
Age Manning 2019-02-15 14:21:33 +11:00
parent 94c8784523
commit e06c4796e4
No known key found for this signature in database
GPG Key ID: 05EED64B79E06A93
2 changed files with 4 additions and 4 deletions

View File

@ -30,8 +30,8 @@ use fast_math::log2_raw;
use std::collections::HashMap; use std::collections::HashMap;
use std::sync::Arc; use std::sync::Arc;
use types::{ use types::{
readers::BeaconBlockReader, slot_epoch::Slot, slot_height::SlotHeight, readers::BeaconBlockReader, validator_registry::get_active_validator_indices, BeaconBlock,
validator_registry::get_active_validator_indices, BeaconBlock, Hash256, Hash256, Slot, SlotHeight,
}; };
//TODO: Pruning - Children //TODO: Pruning - Children

View File

@ -28,8 +28,8 @@ use db::{
use std::collections::HashMap; use std::collections::HashMap;
use std::sync::Arc; use std::sync::Arc;
use types::{ use types::{
readers::BeaconBlockReader, slot_epoch::Slot, validator_registry::get_active_validator_indices, readers::BeaconBlockReader, validator_registry::get_active_validator_indices, BeaconBlock,
BeaconBlock, Hash256, Hash256, Slot,
}; };
//TODO: Pruning and syncing //TODO: Pruning and syncing