Well, you were honest and that's a good thing, however I can also see how your boyfriend would feel at a disadvantage now, and also hurt. It sucks to love someone who doesn't love you back, he's disappointed and sad and there's not much you can do about that (which doesn't involve lying).
I think what you should do now is wait for him to come around and deal with his emotions. It'll also be extra nice from you to be more sensitive to him right now understanding that he's hurt.
I don't know what he decide to do with this new information, maybe he'll want out of the relationship or maybe he'll learn to except things as they are. I think it's also a good opportunity for you to examine what love means to you and check in with yourself about where you are emotionally toward this guy.
If a long amount of time passes and he doesn't come around, I think a session or two at a couple therapist may be a great idea for both of you.