diff --git a/beacon/entropy_generator.go b/beacon/entropy_generator.go index 66b4e4577..4f2a2c163 100644 --- a/beacon/entropy_generator.go +++ b/beacon/entropy_generator.go @@ -616,6 +616,9 @@ func (entropyGenerator *EntropyGenerator) validators() *types.ValidatorSet { entropyGenerator.mtx.RLock() defer entropyGenerator.mtx.RUnlock() + if entropyGenerator.aeon == nil || entropyGenerator.aeon.validators == nil { + return types.NewValidatorSet([]*types.Validator{}) + } return entropyGenerator.aeon.validators }