If your candied coating isn't hardening, the candying mixture did not reach a high enough temperature. Allow your candying mixture to cook until it bubbles, thickens, and turns a rich golden color, sort of like caramel. Then, quickly turn off the heat so it doesn't burn. It's easy to keep an eye on the temperature if you use a candy thermometer. Otherwise, just keep an eye out for that golden color and thickness.