Forgive me but I don't think you've really answered the question. Not knowing that DNA causes heredity is not the same thing as "being wrong" about heredity -- as far as I'm aware, Darwin didn't make any hypotheses about the mechanism of heredity. He simply observed that heredity occurs... which is true, regardless of genetics.