mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
Revert "Tidy ancestor iterators"
This reverts commit 5079c25bb2.
Accidental push to master.. my bad!
This commit is contained in:
@@ -54,7 +54,7 @@ fn get_version(_req: Request<Body>) -> APIResult {
|
||||
fn get_genesis_time<T: BeaconChainTypes + 'static>(req: Request<Body>) -> APIResult {
|
||||
let beacon_chain = req.extensions().get::<Arc<BeaconChain<T>>>().unwrap();
|
||||
let gen_time = {
|
||||
let state = &beacon_chain.head().beacon_state;
|
||||
let state = beacon_chain.current_state();
|
||||
state.genesis_time
|
||||
};
|
||||
let body = Body::from(
|
||||
|
||||
Reference in New Issue
Block a user