As the NRL closes in on what it hopes will be a $4 billion broadcast rights deal, it is now dealing with unwanted attention.

The NRL’s top referee Ashley Klein lost hundreds of thousands of dollars betting on horse racing but was allowed to keep officiating in the sport’s biggest games.

Ashley Klein’s gambling losses of more than $400,000 were revealed last week. He’s due to referee the second State of Origin on Wednesday.