sounds like youve got a hermie that pollinated itself, is it the only plant you have? their is a decent chance your other plants will make some seeds too if you discovered the problem so late. The crop might be ruined, maybe not. It depends on wether or not you caught them way too late or if you just found them a little late.