It's likely it hadn't been heated to soft ball stage properly. You can try again by melting the fudge back down over low heat, with a tablespoon of milk. Bring it back to a bubble and cook until it reaches soft ball stage. Then, take it off the heat, beat it and pour it in a pan.