Verify validator in optimistic_verify (#15371)