Easy
Inner core of the earth remains in solid state due to:
Despite extremely high temperatures at the Earth's centre, the immense pressure there keeps the inner core in a solid state (pressure overcomes the tendency to melt).
Re-check your working by substituting the answer back into the original question.