I accidentally posted some code during an edit in an answer that I did not want to be public. Couldn't just rollback the edit to really get rid of it. Deleted the answer and reposted modified without private info. Awarded a cleanup badge.
What is meta?
- Any Stack Exchange user can ask a question
- The community provides support, votes on ideas, and reports bugs
- Your voice helps shape the way Stack Exchange operates
Even though you can't see it, that deleted answer is still there in the system. Anyone with > 10k of reputation would be able to see your answer and your code, so as tvanfosson says, you should probably contact a mod to delete it (flag your answer or something with a little note for them).
I wouldn't worry about it.
You did a rollback; you earned a badge. There's no productive way the system can determine that your rollback turned out not to be needed. What if you deleted the message days (or years) later?
Once awarded, badges are rarely removed. It's okay.