Fix typo "prey" -> "pray" in function comment