I have seen it written in both ways, though perhaps more often as "nerve-racking". Are they both correct?