We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9e0e68 commit 69a4b7dCopy full SHA for 69a4b7d
pkg/coordinator/tasks/check_consensus_slot_range/task.go
@@ -100,10 +100,12 @@ func (t *Task) Execute(ctx context.Context) error {
100
func (t *Task) runRangeCheck() (checkResult, isLower bool) {
101
consensusPool := t.ctx.Scheduler.GetServices().ClientPool().GetConsensusPool()
102
genesis := consensusPool.GetBlockCache().GetGenesis()
103
+
104
if genesis == nil {
105
t.logger.Errorf("genesis data not available")
106
return false, true
107
}
108
109
if genesis.GenesisTime.Compare(time.Now()) >= 0 {
110
111
0 commit comments