Did I make a mistake?

I have/had a crush on my best friend for a while. I'm still not sure if I still have feelings for her, I think I do I'm just confused. We used to be best friends, until I stupidly distanced myself away because I felt horrible about my feelings for her. I felt horrible that i kept my feelings for her and when we did stuff together because we used to hold hands and stuff, I felt like I was betraying her. Yesterday I told her everything, about my feelings for her and how i regret not talking to her. Did I make a mistake in telling her?