Lumber question for those in the building trades

My in-laws owned a house in Tracy that they were selling back 20 years ago or so. The house was built in the 1990s. When the house was inspected there was a minor roof timber that had cracked. It was a 2x3, yes a 2x3. In the middle of the length there had been a knot that was at least 1.5" in diameter.. I went up with a jack, a length or 2x4 and a bunch of screws. Fixed it right up...Maybe a 2x3 was sufficient in that location, but not with a knot that was more than half the width of the board.