The 170,000 miles doesn't bother me. I've got two cars over 300k. Run fine. So 170 is nothing.
It's the fact that your friend was a dumbass and only changed the oil every 10,000 miles.
That's three times longer than the average servicing.
Which means he went cheap on servicing, and you can bet he went cheap elsewhere.
Pass on the car. It's going to be a headache before you know it.