before producing the new block, compare the current height with the scheduled height and make sure the enclave is matched.