is the inner core 1278 km thick

No, the inner core of the Earth is not 1278 km thick. The inner core is approximately 1220 km in radius, which translates to a diameter of about 2440 km and a thickness of around 5500 km.