According to the right-hand thumb rule, if we curl the fingers of our right hand in the direction of the current flowing, then the thumb will point in the direction of the magnetic field developed due to it and vice versa. Therefore, in this case, the field at the centre is going away from us.