Careful. Hawks, eagles, owls, birds of prey in general are federally protected. A wind farm just paid a big fine because their wind turbines killed a bunch of eagles. It’s even against the law to possess hawk, owl, or eagle feathers, even from road kill.
They are not likely to come looking for you since you did not go hunting for that hawk but it still might be a good idea to not rub it in their faces. You never know when you might run into the one that is a stickler for the letter of the law instead of using a little common sense and discretion. A shovel might be a good idea. Just to let you know there is some risk in having that hawk even if you did nothing wrong.
I don’t know what amperage you have set up in that electric wire but I doubt the electrical part killed the hawk. My chickens occasionally zap themselves when their wattles or comb comes in contact with the electric netting. That brings an instant reaction but it doesn’t hurt them. I suspect that hawk hit the wire, maybe swooping in for a kill. Power lines and things like that kill a lot of birds when they hit it at high speed.