The riskiness of the project is taken into consideration by adjusting the expected cash flows and not the discount rate. For this purpose, Certainty equivalent coefficient is calculated and multiplied with risky cash flows. it is equal to
Risk less cash flows
Risky cash flows
Then calculated certain cash flows are discounted as risk less discount rate.