I'm 5'10" with a 32" inseam and ride a 17.5" GF Wahoo and don't have any trouble with it.
As long as you're not training for the Leadville 100 you'd be OK with the bike if it's in a good state of repair. You can always use it as a beater bike later if/when it's time to upgrade.