With only 24 hours until survey forms must be received by the Australian Bureau of Statistics (ABS), many people are racing to cast their vote on whether or not gay marriage should be legalized in Australia.

In the midst of this momentous vote, the Medical Journal of Australia published a study that revealed one of the greatest threats to children of same-sex parents wasn’t their parents’ sexuality, but rather discrimination from others.

After three decades of peer-reviewed research by The Royal Children’s Hospital Melbourne (a pediatric teaching hospital and research institute), researchers discovered that when compared to their peers with heterosexual parents, children with same-sex parents did just as well emotionally, socially, and educationally.

Researchers involved in the study say that this is because parents’ sexuality plays no role in their ability to raise children. “It is family processes – parenting quality, parental wellbeing, the quality of and satisfaction with relationships within the family – rather than family structures that make a more meaningful difference to children’s wellbeing and positive development,” said one researcher.

However, the study did find that the only difference children of straight and gay couples faced was levels of discrimination and harassment from others. “Young LGBTIQ+ people are much more likely to experience poor mental health, self-harm, and suicide than other young people. Sadly, this is largely attributed to the harassment, stigma, and discrimination they and other LGBTIQ+ individuals and communities face in our society,” said Professor Frank Oberklaid, one of the study’s authors.

With many ‘no’ campaigners claiming children of gay parents are “damaged” by their parents’ relationship, many Australians in favor of same-sex marriage believe this report can better educate people as well as encourage them to vote yes in the poll.

As of October 27, more than 12.3 million Australians had voted — that’s 77 percent of all eligible voters, according to the ABS.

Current unofficial, online polls are showing that more people are currently in support of gay marriage than against it. However, the official results will be released on November 15.

“I’m reading what the media are saying about the responses, most certainly in my own electorate, I think the Yes case will get up and if it gets up, I will facilitate the passage of a bill,” said Acting Prime Minister Julie Bishop.

Should the ‘yes’ vote prevail, Australia Prime Minister Malcolm Turnbull promised to legalize same-sex marriage by Christmas of this year.