Even if you have no in interest in breeding, and this is only a hobby for you, I would hope that any responsible person would read up on a pet they wanted before buying it, no matter what pet it was. Otherwise how can you know how to give it the best possible care when you own it. These are living creatures which we take on a responsibility for when we buy them I'm afraid.
However, rant being over, we all make mistakes of some kind when we are first starting out in the hobby, and if this was the worst one I made then I'd be happy.
Without wanting to sound preachy (Too late....Lol) I would suggest that you read up on any fish that you are interested in in future to prevent any problems.
We all read up and check things and this site is an amazing way to do that. Some of us do it because we love to learn about the fish we look after, and those we'd love to own if we had the money/time/room, and some of us do it just to try to ensure we don't make any mistakes.
Whichever camp you fall into, please make use of this sites and the members knowledge, which is freely given.