Electrical outlet has two black hot wires but one neutral white wire?
Assuming you are in the US, this could be a half-switched outlet. Do you still have the old outlet? Look at the side and see if the metal tab between the screws is broken off on one or both sides. If it is, then (at least) one of those black wires is probably controlled by a wall switch somewhere, resulting in one outlet being on all of the time and the other switched.