A lot of buyers will include a clause that repairs such as electrical must be done by a licensed electrician. It would be cheaper to fix it yourself IF you know how.
I sold a twelve year old house in 2014 that I had built new for me. The only things found on inspection were the stove not working, and a drip on the sump pump drain line. The stove was in child lock mode. I fixed the sump pump for about $50 in materials and a few hours of time.
When I was selling my first house back in 2010 every potential buyers inspector said the kitchen lights did not work and that it would cost thousands of dollars to fix the faulty wiring that was causing the lights not to work.
I had no idea what they were talking about as all the lights and light switches in the kitchen worked fine.
Then I found out that the real estate agent that was showing my house for me kept turning the dimmer control levers on the light switches all the way down to shut off the lights instead of just flipping the actual switch to turn the lights on and off!
All the potential buyers, all the real estate agents and all the potential buyers inspectors never thought to turn the dimmer control levers back up so the lights would come back on. I thought how the hell could so many people, especially home inspectors, be so clueless?
After I found out what was happening I replaced all the dimmer switches in the house with regular old toggle switches and sure enough no more inspectors saying the house needed to be rewired.
Jim