As far as I know, they can sniff edibles from hell a long way. If you take care about making sure that you don't throw eatables (specially Non-Vegetarian) around where you are camping, you should be safe in Hammock. But places where you are so close to bears, Hammocks will never be safe. Bears are known to be curious animals, so when you litter around camp-sites with edibles, doesn't matter if you are in a hammock or in a tent, you are asking for trouble. At least I wont choose to be on a hammock when bears are wandering in forest.
Now as you are saying the food has been kept well away from the campsite, there shouldn't be an issue to be worried about. But still I would emphasize a point that "Why do I really want to do this?"
On Outdoor stays Tent are much safer and comfortable in fact, if its something like Alaska or even some rainforest, similar to ones that you may find in Western Ghats of India.