In this paper, we consider estimating the error distribution in a non-parametric regression model by a smooth version of the empirical distribution function of residuals. We show that a classical residual bootstrap version of the resulting residual-based empirical process joins the same limiting distribution. From this result, consistency of various goodness-of-fit tests in non-parametric regression models is obtained.