Update fork choice to take just. head

This commit is contained in:
Paul Hauner
2019-05-31 17:51:32 +10:00
parent 2f9f8bf772
commit 08bf5817c9
2 changed files with 22 additions and 54 deletions

View File

@@ -10,7 +10,6 @@ pub const BEACON_CHAIN_DB_KEY: &str = "PERSISTEDBEACONCHAINPERSISTEDBEA";
#[derive(Encode, Decode)]
pub struct PersistedBeaconChain<T: BeaconChainTypes> {
pub canonical_head: CheckPoint<T::EthSpec>,
pub finalized_head: CheckPoint<T::EthSpec>,
// TODO: operations pool.
pub state: BeaconState<T::EthSpec>,
}