In the Bohr model of the atom, does the centripetal force balance out the electrostatic force? Is this picture correct?

It's the Bohr Model for electron moving around the nucleus.
In my opinion, the centripetal force should be directed towards the center, and the electrostatic force should be directed outward.
And i found a counterexample :

Plus, in all my classcial mechanics classes, the centripetal force was inward.
So can someone check this picture and tell me if it's wrong or right.
And if it's right, can you elaborate on why it is?
 A: Yes, the arrow representing a centripetal force should point inwards.
The electrostatic force is the centripetal force here. There is only one force (the electrostatic force), the centripetal force is not something different but a way of describing what the actual force does (i.e. that it forces the object onto an orbit).
If one only wants to show real forces, then there is only one arrow showing the electrostatic force (like in the second picture), but if you want to represent both aspects, then the arrow representing the centripetal force should be exactly the same (equal in size and direction).
The first picture implies (wrongly) that there is a balance between two (equal but opposite) forces. If this was true, then the electron would not move in an orbit but in a straight line. An object on an orbit is continually accelerated towards the centre, otherwise it wouldn't follow a curved path.
A: The centripetal force is the electrostatic force. So it is natural that both of them have the same direction i.e radially inwards. The charges have opposite signs and hence the force is attractive in nature.
A: His diagram is not wrong, it is what you will use in a noninertial frame moving with the electron. In this frame you introduce a "fictional" centrifugal force (pointing radially outwards) and Newton's second law results in an equilibrium of forces. The acceleration in this non-inertial frame is zero so the net force should be zero. He did not say that the vector pointing out is a centripetal force just that it is due to centripetal acceleration. When you switch your analysis to a noninertial frame you introduce a fictional force $f=-m\vec{a}$ where $\vec{a}$ is the acceleration of the non-inertial sstem relative to an inertial system. In this case $\vec{a}$ is the centripetal acceleration. So, the figure by itself is not wrong as long it is used in the right context. I don't know what/how he actually explained in class.
The second image you show represent the analysis in an inertial reference frame (fixed relative to the center of the circle). In this frame there is only one force, the interaction force (electrostatic).
Both figures are OK but they represent the analysis in two different frames.
A: There is no "outward" force

The inwards electrostatic force combined with the velocity creates the circular motion (essentially an orbit).
A: Even in a non inertial frame the force outward is called centrifugal force and not centripetal.
