mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-01 20:04:41 +00:00
resolve merge conflicts between untstable and release-v7.0.0
This commit is contained in:
@@ -51,8 +51,10 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
.state_root_at_slot(state_slot)?
|
||||
.ok_or(BeaconChainError::NoStateForSlot(state_slot))?;
|
||||
|
||||
// This branch is reached from the HTTP API. We assume the user wants
|
||||
// to cache states so that future calls are faster.
|
||||
let state = self
|
||||
.get_state(&state_root, Some(state_slot))?
|
||||
.get_state(&state_root, Some(state_slot), true)?
|
||||
.ok_or(BeaconChainError::MissingBeaconState(state_root))?;
|
||||
|
||||
if state.fork_name_unchecked().altair_enabled() {
|
||||
|
||||
Reference in New Issue
Block a user