If your Christmas crack came out grainy, it most likely happened during the boiling step. Be sure to stir consistently, scraping the sides of the pan to prevent sugar from crystalizing, which leads to a grainy texture.