Ensure committees are built for block processing
This commit is contained in:
parent
45fb11b208
commit
f530f5a848
@ -672,6 +672,8 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
}
|
||||
}
|
||||
|
||||
state.build_committee_cache(RelativeEpoch::Current, &T::EthSpec::spec())?;
|
||||
|
||||
// Apply the received block to its parent state (which has been transitioned into this
|
||||
// slot).
|
||||
if let Err(e) = per_block_processing(&mut state, &block, &T::EthSpec::spec()) {
|
||||
|
Loading…
Reference in New Issue
Block a user