mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Disable liveness risk
This commit is contained in:
@@ -6089,8 +6089,10 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
|||||||
//
|
//
|
||||||
// This prevents the routine from running during sync.
|
// This prevents the routine from running during sync.
|
||||||
let head_slot = cached_head.head_slot();
|
let head_slot = cached_head.head_slot();
|
||||||
if head_slot + T::EthSpec::slots_per_epoch() * PREPARE_PROPOSER_HISTORIC_EPOCHS
|
if 2 + 2 == 5
|
||||||
< current_slot
|
&& head_slot
|
||||||
|
+ T::EthSpec::slots_per_epoch() * PREPARE_PROPOSER_HISTORIC_EPOCHS
|
||||||
|
< current_slot
|
||||||
{
|
{
|
||||||
debug!(
|
debug!(
|
||||||
chain.log,
|
chain.log,
|
||||||
|
|||||||
Reference in New Issue
Block a user