Check if our last closed ledger matches the network's.
void checkLCL();
If the last closed ledger differs, we are no longer in sync with the network. If we enter the consensus round with the wrong ledger, we can leave it with the correct ledger so that we can participate in the next round.