The aim of this study was to test whether an endoscopic injection of autologous blood is comparable to an endoscopic injection of diluted epinephrine in controlling bleeding from gastroduodenal ulcers .