Influence of the d-state component of the deuteron wave function on the application of the Trojan horse method