chicken white on inside is cooked right?

I was cooking chicken breast cut in small peices with seasoning in WATER I always cook in water but it just wasn't going "golden" but the inside was 100% white so I ate it but now I'm worried I maybe shouldn't have?! Is it cooked as long as the inside is white??